Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

Better error handling for if error data is unexpectedly not an object. #18

Merged
merged 1 commit into from
Jun 15, 2015

Conversation

GUI
Copy link
Member

@GUI GUI commented Jun 15, 2015

Related to it being possible to enter invalid error data (but valid YAML) via the web UI: NREL/api-umbrella#153

In these cases, we will now return the default internal server error, which at least prevents bad error responses without an HTTP status code at all, which could really throw some clients for a tizzy.

Related to it being possible to enter invalid error data (but valid
YAML) via the web UI: NREL/api-umbrella#153

In these cases, we will now return the default internal server error,
which at least prevents bad error responses without an HTTP status code
at all, which could really throw some clients for a tizzy.
GUI added a commit that referenced this pull request Jun 15, 2015
Better error handling for if error data is unexpectedly not an object.
@GUI GUI merged commit 35efc2c into master Jun 15, 2015
@GUI GUI deleted the error-data-non-objects branch June 15, 2015 02:10
GUI added a commit that referenced this pull request Jul 27, 2015
Ensure that the error data yaml entered is the expected type (hash)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant