wrangler 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wrangler/exception_handler.rb +2 -1
- data/wrangler.gemspec +1 -1
- metadata +1 -1
@@ -208,7 +208,7 @@ module Wrangler
|
|
208
208
|
if notify_on_exception?(exception, status_code)
|
209
209
|
if notify_with_delayed_job?
|
210
210
|
# don't pass in request as it contains not-easily-serializable stuff
|
211
|
-
log_error
|
211
|
+
log_error "Wrangler sending email notification asynchronously"
|
212
212
|
Wrangler::ExceptionNotifier.send_later(:deliver_exception_notification,
|
213
213
|
exception,
|
214
214
|
exception.to_str,
|
@@ -217,6 +217,7 @@ module Wrangler
|
|
217
217
|
status_code,
|
218
218
|
request_data)
|
219
219
|
else
|
220
|
+
log_error "Wrangler sending email notification synchronously"
|
220
221
|
Wrangler::ExceptionNotifier.deliver_exception_notification(exception,
|
221
222
|
exception.to_str,
|
222
223
|
proc_name,
|
data/wrangler.gemspec
CHANGED