mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 01:24:56 +02:00
better error reporting to help fix bugs
This commit is contained in:
parent
b782632b69
commit
d56edd80ec
2 changed files with 14 additions and 4 deletions
12
views/templates/email/error.erb
Normal file
12
views/templates/email/error.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<%= request.request_method %> <%= request.path %>
|
||||
|
||||
<% if current_site %>
|
||||
Site: <%= current_site.username %>
|
||||
Email: <%= current_site.email %>
|
||||
<% end %>
|
||||
|
||||
Params:
|
||||
<%= params.inspect %>
|
||||
|
||||
Backtrace:
|
||||
<%= env['sinatra.error'].backtrace.join("\n") %>
|
Loading…
Add table
Add a link
Reference in a new issue