Commit ffc54363c5cb9c53ec4f053ff065e4133719f8fb

Authored by Nick Recobra
1 parent 49147153
Exists in master and in 1 other branch production

Cut down pivotal story description since it can handle only 5000 characters.

Showing 1 changed file with 1 additions and 6 deletions   Show diff stats
app/views/errs/pivotal_body.txt.erb
@@ -12,10 +12,5 @@ See this exception on Errbit: <%= app_err_url err.app, err %> @@ -12,10 +12,5 @@ See this exception on Errbit: <%= app_err_url err.app, err %>
12 <%= pretty_hash notice.session %> 12 <%= pretty_hash notice.session %>
13 13
14 Backtrace: 14 Backtrace:
15 - <%= notice.backtrace.map { |line| "#{line['number']}: #{line['file'].sub(/^\[PROJECT_ROOT\]/, '')} -> *#{line['method']}*" }.join "\n" %>  
16 -  
17 - Environment:  
18 - <% notice.env_vars.each do |key, val| %>  
19 - <%= "#{key}: #{val}" %>  
20 - <% end %> 15 + <%= notice.backtrace[0..4].map { |line| "#{line['number']}: #{line['file'].sub(/^\[PROJECT_ROOT\]/, '')} -> *#{line['method']}*" }.join "\n" %>
21 <% end %> 16 <% end %>