Permalink
Browse files

add queue field to failed dict to get the pyres web frontend working

  • Loading branch information...
optixx committed May 21, 2011
1 parent d93ef9b commit 6b5f4a5ca3c366c2a5b32b1c4751854032dd2371
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/resque.js
View
@@ -107,6 +107,7 @@ resque.connect = function (options) {
, JSON.stringify ({
worker: worker.identifier
, error: failure.error || 'unspecified'
+ , queue : worker.queue
, payload: job
, exception: failure.exception || 'generic'
, backtrace: failure.backtrace || ['unknown']
@@ -180,4 +181,4 @@ resque.connect = function (options) {
}
return connection
-}
+}

0 comments on commit 6b5f4a5

Please sign in to comment.