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.
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.