-
Notifications
You must be signed in to change notification settings - Fork 58
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
Experiment Initialization failure handling #453
Experiment Initialization failure handling #453
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that it is not good practice to return JSON as content type if the message actually does not contain JSON. Please look at the comments in the code for more details.
src/main/java/org/aksw/gerbil/exceptions/FaultyConfigurationException.java
Show resolved
Hide resolved
src/main/java/org/aksw/gerbil/web/response/execution/ExperimentExecutionResponse.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think text/plain
would be the better media type when returning the plain experiment ID.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Experiment Initialization failure handling
Resolves: Issue 420