Commit 01525b23e67ceb32c998c4c7bf669f16205212d5

Authored by Brian van Burken
1 parent d77668a0
Exists in master and in 1 other branch production

Joined all the attribute readers.

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/models/error_report.rb
@@ -15,7 +15,8 @@ require 'hoptoad_notifier' @@ -15,7 +15,8 @@ require 'hoptoad_notifier'
15 # * <tt>:notifier</tt> - information to identify the source of the error report 15 # * <tt>:notifier</tt> - information to identify the source of the error report
16 # 16 #
17 class ErrorReport 17 class ErrorReport
18 - attr_reader :error_class, :message, :request, :server_environment, :api_key, :notifier, :user_attributes, :framework 18 + attr_reader :error_class, :message, :request, :server_environment, :api_key,
  19 + :notifier, :user_attributes, :framework, :notice
19 20
20 cattr_accessor :fingerprint_strategy do 21 cattr_accessor :fingerprint_strategy do
21 Fingerprint 22 Fingerprint
@@ -56,7 +57,6 @@ class ErrorReport @@ -56,7 +57,6 @@ class ErrorReport
56 error.notices << @notice 57 error.notices << @notice
57 @notice 58 @notice
58 end 59 end
59 - attr_reader :notice  
60 60
61 ## 61 ##
62 # Error associate to this error_report 62 # Error associate to this error_report