Send exception details lo standard log

Fixes #1371
This commit is contained in:
Artur Beljajev 2019-10-17 12:14:03 +03:00
parent 825e46486f
commit b77ced6b24
2 changed files with 2 additions and 0 deletions

View file

@ -395,6 +395,7 @@ module Epp
end
def log_exception(exception)
logger.error(([exception.message] + exception.backtrace).join($INPUT_RECORD_SEPARATOR))
notify_airbrake(exception)
end
end