1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/test
Eugene Kenny d4b012bd8c Pass job hash to handle_exception again (#3224)
When I moved the reloader inside the block so that any errors it raised
would be handled properly, the `job` local variable was pushed into a
nested scope, which meant it wasn't accessible from the rescue block any
more. This changed the meaning of `job` in that rescue block from the
local variable to the `attr_reader` with the same name.

We don't need to reload the application before parsing the job payload,
so we can move this work outside the reloader block so that the job hash
is accessible in the rescue block again.
2016-11-06 13:11:07 -08:00
..
fixtures
config.yml
env_based_config.yml
fake_env.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
helper.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_actors.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_api.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_cli.rb Fix Ruby warnings, thanks for the reminder @nateberkopec 2016-08-30 13:29:03 -07:00
test_client.rb Handle case of no jobs to push_bulk, fixes #2997 2016-05-31 10:05:16 -07:00
test_exception_handler.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_extensions.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_fetch.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_launcher.rb Add event when a process has a new heartbeat 2016-08-12 12:34:41 -07:00
test_logging.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_manager.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_middleware.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_processor.rb Pass job hash to handle_exception again (#3224) 2016-11-06 13:11:07 -08:00
test_rails.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_redis_connection.rb Symbolize keys in options hash for RedisConnection.create 2016-05-26 12:50:37 +07:00
test_retry.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_retry_exhausted.rb switch syntax for jruby 2016-02-04 10:40:46 -08:00
test_scheduled.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_scheduling.rb Fix the error in worker#perform_in about interval type (#3170) 2016-09-30 02:31:08 -07:00
test_sidekiq.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_testing.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00
test_testing_fake.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_testing_inline.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_util.rb Merge branch 'master' into frozen 2016-04-21 13:15:00 -07:00
test_web.rb Allow to disable sessions (#3183) 2016-10-14 09:51:13 -07:00
test_web_helpers.rb Freeze all string literals in source, fixes #2741 2015-12-31 15:33:35 -08:00