Commit ba9fd29c

mo khan <mo@mokhan.ca>
2014-05-10 15:42:53
add email to .env.template and remove extra data params when sending an error.
1 parent c2d67d4
Changed files (1)
app
services
app/services/commands/upload_image_worker.rb
@@ -1,5 +1,5 @@
 class UploadImageWorker < ::CarrierWave::Workers::StoreAsset
   def error(job, exception)
-    ExceptionNotifier.notify_exception(exception, :data => {:worker => worker.to_s, :queue => queue, :payload => payload})
+    ExceptionNotifier.notify_exception(exception)
   end
 end