iVis-at-Bilkent / syblars

SyBLaRS: Systems Biology Layout & Rendering Service
MIT License
12 stars 1 forks source link

Provide details on errors and try to recover from them #15

Closed ugurdogrusoz closed 2 years ago

ugurdogrusoz commented 2 years ago

Currently we provide a generic error message regardless of the type of the error. Instead we should provide some details. In addition, once an error occurs, the application does not seem to be able to gracefully recover from it, keeping to give errors in subsequent use.

hasanbalci commented 2 years ago

We now detailed explanations in the error messages. Some examples are as follows: error_message1 error_message2 error_message3

We are also now trying to catch possible errors more tightly to prevent server to be down and show "Application Error" message. But still, if the server crashes, Heroku restarts it after a certain period of time according to its documentation.