# Suggestion: Add a helpful error message when app.yaml has syntax errors

**URL:** <https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738>\
**Category:** Feature\
**Created:** [15.Март.2019 19:47:44 UTC](https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738 "2019-03-15T19:47:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Grimz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grimz/32/134170_2.png) [@Grimz](https://meta.discourse.org/u/Grimz)\
**Post date:** [15.Март.2019 19:47:45 UTC](https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738/1 "2019-03-15T19:47:45Z")

</div>

When making changes to app.yaml (to add a plugin for instance), it is easy to include extra space, forget a dash, etc. An incorrectly formatted YAML file causes `launcher rebuild app` to fail with the following error:

```plaintext
/merge_command.rb:45:in `merge': no implicit conversion of String into Hash

```

The error code and description in no way imply that there is an issue with parsing app.yaml, nor does it indicate what the problem is with the file. Googling the above error does contain a couple of support links that suggest the issue, but it is far from clear.

Could an error message be added that, at a minimum, indicated that the build tool failed to parse _app.yaml_, or even better, indicate what the syntax or parsing error was (e.g. _“expected indentation on line 17 but found \<tab\>”_, orsimilar)

---

_[View the full topic](https://meta.discourse.org/t/suggestion-add-a-helpful-error-message-when-app-yaml-has-syntax-errors/111738)._
