Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Add exception handler to prevent crash #12

Merged
merged 1 commit into from
May 16, 2018
Merged

Add exception handler to prevent crash #12

merged 1 commit into from
May 16, 2018

Conversation

joyrex2001
Copy link
Contributor

@joyrex2001 joyrex2001 commented May 16, 2018

This will keep the server running, even if the database is not accessable, or produces another kind of error. The actual exception will be logged, and and error json will be returned to the client (similar to the errors produced by the parameter checking).

This fixes #3.

This will keep the server running, even if the database is not accessable, or produces another kind of error. The actual exception will be logged, and and error json will be returned to the client (similar to the errors produced by the parameter checking).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Curling results in empty response, server crashes
2 participants