Bike!Bike! Website!
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.

46 lines
894 B

8 years ago
%h1=_!('From')
%table.error-report
%tr
8 years ago
%th=_!'Key'
%th=_!'Value'
%tr
8 years ago
%td=_!'User ID'
%td=_!(@from.is_a?(User) ? @from.id : '')
%tr
8 years ago
%td=_!'User Name'
%td=_!(@from.is_a?(User) ? @from.name : '')
%tr
8 years ago
%td=_!'User Email'
%td=_!(@from.is_a?(User) ? @from.email : @from)
%tr
8 years ago
%td=_!'IP Address'
%td=_!@request['remote_ip']
%tr
8 years ago
%td=_!'UUID'
%td=_!@request['uuid']
%tr
8 years ago
%td=_!'URL'
%td=_!@request['original_url']
8 years ago
%h1=_!'Message'
%blockquote=_!markdown(@message)
8 years ago
%h1=_!'Params'
%table.error-report
%tr
8 years ago
%th=_!'Key'
%th=_!'Value'
- @params.each do | key, value |
%tr
8 years ago
%td=_!key
%td=_!value
8 years ago
%h1=_!'Request Environment'
%table.error-report
%tr
8 years ago
%th=_!'Key'
%th=_!'Value'
- @request['env'].each do | key, value |
%tr
8 years ago
%td=_!key
%td=_!value