mountetna / magma

Data server with friendly data loaders
GNU General Public License v2.0
5 stars 2 forks source link

Update_model does not log errors #191

Open graft opened 3 years ago

graft commented 3 years ago

While /update_model reports errors back to the user (rather too verbosely i think, improperly revealing Ruby errors to the user) it does not actually log the error or the corresponding stack trace, which makes it difficult to debug the issues that arise.

It would be better if the endpoint showed a simpler error, but actually logged the error contents and backtrace.