Github user ahgittin commented on the issue:
https://github.com/apache/brooklyn-server/pull/571
Tests pass -- merging. If `badRequest` is too bad we can improve that
subsequently. As noted we use `badRequest` already if `launch` fails when we
know it's YAML; if it fails in auto-detect mode we should probably throw the
same. Not giving an error equates to 500 server error which is probably wrong;
chances are launch fails either because we couldn't parse or the synchronous
launch steps are invalid, which unless the provided yaml references something
that is broken, is going to be because the supplied yaml itself is broken IE
**bad request**.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---