You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
819 B
50 lines
819 B
9 years ago
|
%p=@message if @message.present?
|
||
|
%p=@report
|
||
|
|
||
|
- if @exception.present? && @exception.respond_to?(:backtrace)
|
||
|
%h1 Backtrace
|
||
|
%pre=@exception.backtrace.join("\n")
|
||
|
|
||
|
%h1 Details
|
||
|
%table
|
||
|
%tr
|
||
|
%th Key
|
||
|
%th Value
|
||
|
%tr
|
||
|
%td User ID
|
||
|
%td=@user.present? ? @user.id : ''
|
||
|
%tr
|
||
|
%td User Name
|
||
|
%td=@user.present? ? @user.name : ''
|
||
|
%tr
|
||
|
%td User Email
|
||
|
%td=@user.present? ? @user.email : ''
|
||
|
%tr
|
||
|
%td IP Address
|
||
|
%td=@request.remote_ip
|
||
|
%tr
|
||
|
%td UUID
|
||
|
%td=@request.uuid
|
||
|
%tr
|
||
|
%td URL
|
||
|
%td=@request.original_url
|
||
|
|
||
|
%h1 Params
|
||
|
%table
|
||
|
%tr
|
||
|
%th Key
|
||
|
%th Value
|
||
|
- @params.each do | key, value |
|
||
|
%tr
|
||
|
%td=key.to_s
|
||
|
%td=value.to_s
|
||
|
|
||
|
%h1 Request Environment
|
||
|
%table
|
||
|
%tr
|
||
|
%th Key
|
||
|
%th Value
|
||
|
- @request.env.each do | key, value |
|
||
|
%tr
|
||
|
%td=key.to_s
|
||
|
%td=value.to_s
|