diff --git a/lib/resque/helpers.rb b/lib/resque/helpers.rb index 70368b9e7..337fc416b 100644 --- a/lib/resque/helpers.rb +++ b/lib/resque/helpers.rb @@ -29,7 +29,7 @@ def decode(object) begin ::MultiJson.decode(object) rescue ::MultiJson::DecodeError => e - raise DecodeException, e + raise DecodeException, e.message, e.backtrace end end