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
|
||||
message = "Failed to create or lookup user: #{e}."
|
||||
message << "\n\n" << "-" * 100 << "\n\n"
|
||||
message << sso.diagnostics
|
||||
message << "\n\n" << "-" * 100 << "\n\n"
|
||||
message << e.backtrace.join("\n")
|
||||
message << " "
|
||||
message << " #{sso.diagnostics}"
|
||||
message << " "
|
||||
message << " #{e.backtrace.join("\n")}"
|
||||
|
||||
Rails.logger.error(message)
|
||||
|
||||
|
|
Loading…
Reference in New Issue