Commit ef52cfbb2be719c4d6ad69e17e05e33a4240129d
Exists in
master
and in
1 other branch
Merge branch 'email_backtrace' of https://github.com/harvesthq/errbit into pull-request-38
Showing
3 changed files
with
7 additions
and
0 deletions
Show diff stats
Gemfile
Gemfile.lock
| ... | ... | @@ -37,6 +37,7 @@ GEM |
| 37 | 37 | activesupport (3.0.5) |
| 38 | 38 | addressable (2.2.5) |
| 39 | 39 | arel (2.0.9) |
| 40 | + awesome_print (0.4.0) | |
| 40 | 41 | bcrypt-ruby (2.1.4) |
| 41 | 42 | bson (1.3.0) |
| 42 | 43 | bson_ext (1.3.0) |
| ... | ... | @@ -144,6 +145,7 @@ PLATFORMS |
| 144 | 145 | ruby |
| 145 | 146 | |
| 146 | 147 | DEPENDENCIES |
| 148 | + awesome_print | |
| 147 | 149 | bson_ext (~> 1.2) |
| 148 | 150 | database_cleaner (~> 0.6.0) |
| 149 | 151 | devise (~> 1.1.8) | ... | ... |
app/views/mailer/err_notification.text.erb
| ... | ... | @@ -4,4 +4,8 @@ This err has occurred <%= pluralize @notice.err.notices_count, 'time' %>. You sh |
| 4 | 4 | |
| 5 | 5 | <%= app_err_url(@app, @notice.err) %> |
| 6 | 6 | |
| 7 | +Backtrace follows: | |
| 8 | + | |
| 9 | +<%= @notice.backtrace.collect { |l| l ? " #{l['file']}:#{l['number']}" : nil }.compact.join("\n") %> | |
| 10 | + | |
| 7 | 11 | <%= render :partial => 'signature' %> | ... | ... |