mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Added backtrace reverse info
This commit is contained in:
parent
48bc4d4ac9
commit
7fa9fb3c6e
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ class EppController < ApplicationController
|
|||
if Rails.env.test? || Rails.env.development?
|
||||
# rubocop:disable Rails/Output
|
||||
puts e.backtrace.reverse.join("\n")
|
||||
puts "\nFROM-EPP-RESCUE: #{e.message}\n"
|
||||
puts "\n BACKTRACE REVERSED!\n"
|
||||
puts "\n FROM-EPP-RESCUE: #{e.message}\n\n\n"
|
||||
# rubocop:enable Rails/Output
|
||||
else
|
||||
logger.error "FROM-EPP-RESCUE: #{e.message}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue