Skip to content

Commit

Permalink
Mention path in text response
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDaugherty committed Oct 30, 2020
1 parent 65c562c commit ee39b69
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/better_errors/templates/text.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<%== text_heading("=", "%s at %s" % [exception_type, request_path]) %>

> <%== exception_message %>
<% if backtrace_frames.any? %>
<%== exception_message %>

> To access an interactive console with this error, point your browser to: /__better_errors

<% if backtrace_frames.any? -%>

<%== text_heading("-", "%s, line %i" % [first_frame.pretty_path, first_frame.line]) %>

Expand Down

0 comments on commit ee39b69

Please sign in to comment.