Upstream sync

This commit is contained in:
Senad Uka
2020-07-07 05:08:32 +02:00
parent 7cdb814d6d
commit 0e16791d8b
5 changed files with 8 additions and 28 deletions

View File

@@ -5,6 +5,8 @@ class Api::UserTokenController < Knock::AuthTokenController
# Catch exception and return JSON-formatted error
def return_error(exception)
Raven.capture_exception(exception)
logger.error "==Handled======="
logger.error exception.message
logger.error exception.backtrace.join("\n")