diff options
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/debug_exceptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb index 61e7e73a68..7669767ae3 100644 --- a/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb +++ b/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb @@ -183,9 +183,9 @@ module ActionDispatch message = [] message << " " message << "#{exception.class} (#{exception.message}):" - message += exception.annoted_source_code if exception.respond_to?(:annoted_source_code) + message.concat(exception.annoted_source_code) if exception.respond_to?(:annoted_source_code) message << " " - message += trace + message.concat(trace) log_array(logger, message) end |