Just use space to prettify SSO verbose error logging.
This commit is contained in:
parent
1c2d1682ae
commit
f7f743970b
|
@ -175,10 +175,10 @@ class SessionController < ApplicationController
|
||||||
|
|
||||||
rescue => e
|
rescue => e
|
||||||
message = "Failed to create or lookup user: #{e}."
|
message = "Failed to create or lookup user: #{e}."
|
||||||
message << "\n\n" << "-" * 100 << "\n\n"
|
message << " "
|
||||||
message << sso.diagnostics
|
message << " #{sso.diagnostics}"
|
||||||
message << "\n\n" << "-" * 100 << "\n\n"
|
message << " "
|
||||||
message << e.backtrace.join("\n")
|
message << " #{e.backtrace.join("\n")}"
|
||||||
|
|
||||||
Rails.logger.error(message)
|
Rails.logger.error(message)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue