aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/exceptions.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow passing multiple exceptions to retry_on/discard_onGeorge Claghorn2018-06-251-7/+7
|
* Fix name of the second parameter of block executed by `discard_on` and ↵bogdanvlviv2018-05-291-4/+4
| | | | | | | | `retry_on` [ci skip] Follow up #32854 and ba07b5fc12a740d41d288bea6347f15f4948483c.
* Pass the error instance as the second parameter of block executed by ↵yuuji.yaginuma2018-05-121-1/+1
| | | | | | | | | | | `discard_on` I'm not sure what originally wanted to pass to the argument. However, as long as see the document added along with the commit, it seems just to be mistaken that trying to pass the error instance. https://github.com/rails/rails/pull/30622/files#diff-59beb0189c8c6bc862edf7fdb84ff5a7R64 Fixes #32853
* Merge branch 'master' into custom-discarded-job-handlingAidan Haran2017-12-091-1/+1
|\
| * Yield with an error instance instead of error classKazunori Kajihiro2017-09-291-1/+1
| |
* | Allow for custom handling of exceptions that are discardedAidan Haran2017-09-161-1/+11
|/
* [Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|
* Use frozen-string-literal in ActiveJobKir Shatrov2017-07-091-0/+1
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|
* add missing closing tag [ci skip]yuuji.yaginuma2016-10-141-1/+1
|
* correct exception class in `retry_on` example [ci skip]yuuji.yaginuma2016-08-201-2/+2
| | | | | If the deadlock has occurred `ActiveRecord::Deadlocked` will raise. Ref: #25107, #26059
* Yield the job instance so you have access to things like `job.arguments` on ↵David Heinemeier Hansson2016-08-161-3/+3
| | | | the custom logic after retries fail
* applies new string literal convention in activejob/libXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Fix tests against ActiveSupport::DurationsDavid Heinemeier Hansson2016-08-021-4/+9
|
* Please RubocupDavid Heinemeier Hansson2016-08-021-3/+3
|
* Allow for custom handling of exceptions that persist beyond the retry attemptsDavid Heinemeier Hansson2016-08-011-4/+14
|
* Add exponentially_longer and custom wait algorithmsDavid Heinemeier Hansson2016-08-011-3/+25
|
* Reraise instead of swallow exceptions that occur beyond the retry attemptsDavid Heinemeier Hansson2016-07-291-1/+2
|
* Proper logging when we bail on retrying after X attemptsDavid Heinemeier Hansson2016-07-291-2/+6
|
* Allow retries to happen with different priority and queueDavid Heinemeier Hansson2016-07-291-2/+4
|
* Require time extension for 3.seconds defaultDavid Heinemeier Hansson2016-07-291-0/+2
|
* Mention defaultsDavid Heinemeier Hansson2016-07-291-2/+2
|
* Satisfy pedantic rubocop whitespace detectionDavid Heinemeier Hansson2016-07-291-2/+2
|
* Remove needless requireDavid Heinemeier Hansson2016-07-291-2/+0
|
* Add retry_on/discard_on for better exception handlingDavid Heinemeier Hansson2016-07-291-0/+78