Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging info for failed SUT placement #104

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

danepowell
Copy link
Contributor

@danepowell danepowell commented Aug 24, 2020

I got a little confused trying to integrate ORCA with Drupal Environment Detector (acquia/drupal-environment-detector#9) because ORCA assumed it was a Drupal module and threw an exception "Failed to place SUT at correct path", which by itself isn't very helpful in diagnosing the issue.

It turned out to be pretty simple, I just need to change the SUT package type, but the exception could do a better job of leading people to that info.

See an example of the output of this patch: https://travis-ci.com/github/acquia/drupal-environment-detector/jobs/377032879#L2373

@TravisCarden
Copy link
Contributor

Thanks, @danepowell. I'm gonna chew on this a little bit. I'm wondering if more of this could be validated before creating the fixture. 🤔

@danepowell
Copy link
Contributor Author

danepowell commented Feb 22, 2021

Not that this would have changed the outcome at all, but just for posterity, the correct package type was library: #132

There's definitely still value in adding debugging info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants