diff --git a/lib/resque_job_logging.rb b/lib/resque_job_logging.rb index 3402f51a1..18393e011 100644 --- a/lib/resque_job_logging.rb +++ b/lib/resque_job_logging.rb @@ -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