missed a couple of newlines in the logs

This commit is contained in:
Régis Hanol 2016-02-24 23:35:45 +01:00
parent cc5ca90ac6
commit 0a84275800

View file

@ -119,9 +119,9 @@ class SessionController < ApplicationController
end
message = "Failed to create or lookup user: #{e}."
message << "\n\n" << "-" * 100
message << "\n\n" << "-" * 100 << "\n\n"
message << details.map { |k,v| "#{k}: #{v}" }.join("\n")
message << "\n\n" << "-" * 100
message << "\n\n" << "-" * 100 << "\n\n"
message << e.backtrace.join("\n")
Rails.logger.error(message)