When creating new services, it can be challenging to figure out what is wrong.

Fixing the error message helps developers figure out what the class name should be, and makes debugging much easier.

Pushed to branch 7.x-3.x-reveal-service-class and patch is attached.

CommentFileSizeAuthor
#3 issue-2698125.patch551 bytesJon Pugh
#2 issue-2698125.patch866 bytesJon Pugh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jon Pugh created an issue. See original summary.

Jon Pugh’s picture

FileSize
866 bytes
Jon Pugh’s picture

FileSize
551 bytes

  • helmo committed 79d0405 on 7.x-3.x authored by Jon Pugh
    Issue #2698125 by Jon Pugh: Report the expected service class in the...
helmo’s picture

Status: Needs review » Fixed

Thanks, committed.

I also silenced a fairly annoying message from that same function in http://drupalcode.org/project/provision.git/commit/05b79db

Driver type not specified for the git service, provide it with --git_service_type

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.