提交 cdb15ba7 编写于 作者: R Ryuta Kamizono

Fix CHANGELOG format [ci skip]

* Add backticks
* Expand tabs
* Fix indentation
上级 e08e7453
* Allow block to be passed to ActiveJob::Base.discard_on to allow custom handling of discard jobs.
* Allow block to be passed to `ActiveJob::Base.discard_on` to allow custom handling of discard jobs.
Example:
class RemoteServiceJob < ActiveJob::Base
discard_on(CustomAppException) do |job, exception|
ExceptionNotifier.caught(exception)
end
discard_on(CustomAppException) do |job, exception|
ExceptionNotifier.caught(exception)
end
def perform(*args)
# Might raise CustomAppException for something domain specific
......@@ -14,6 +14,7 @@
*Aidan Haran*
## Rails 5.2.0.beta2 (November 28, 2017) ##
* No changes.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册