You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently cogctl responds with cogctl: ERROR: "Internal server error" if the yaml file could not be parsed as yaml (in this case an ENV var looking string was uploaded). We should make sure we just respond with cogctl: ERROR: "Config file could not be parsed as yaml".
The text was updated successfully, but these errors were encountered:
Somehow, the contents of the first file made it to Cog as a single string, instead of the map that was expected. This caused an Ecto changeset error, which resulted in the aforementioned "Internal server error".
Currently cogctl responds with
cogctl: ERROR: "Internal server error"
if the yaml file could not be parsed as yaml (in this case an ENV var looking string was uploaded). We should make sure we just respond withcogctl: ERROR: "Config file could not be parsed as yaml"
.The text was updated successfully, but these errors were encountered: