only notify hoptoad if it is configured
This commit is contained in:
parent
8a48c5c720
commit
9de84cbba2
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ module ResqueJobLogging
|
|||
:controller => "Resque",
|
||||
:action => self.name
|
||||
}
|
||||
) if Rails.env.production?
|
||||
) if Rails.env.production? && AppConfig[:hoptoad_api_key].present?
|
||||
end
|
||||
|
||||
def application_trace(error) #copied from ActionDispatch::ShowExceptions
|
||||
|
|
|
|||
Loading…
Reference in a new issue