diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2017-12-10 23:32:00 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2017-12-13 16:29:03 +0000 |
commit | 1d3fe75649e9e5dd9efacb7a6a0d9e9d12b3df34 (patch) | |
tree | 1b11b9b733f2897207ca1c01064fd88e76e87e2f /.travis.yml | |
parent | 2fb78dc30528b3a2dcf539ba1d3c77f01f04885e (diff) | |
download | rails-1d3fe75649e9e5dd9efacb7a6a0d9e9d12b3df34.tar.gz rails-1d3fe75649e9e5dd9efacb7a6a0d9e9d12b3df34.tar.bz2 rails-1d3fe75649e9e5dd9efacb7a6a0d9e9d12b3df34.zip |
Suppress expected exceptions by `report_on_exception` = `false` in Ruby 2.5
* Ruby 2.4 introduces `report_on_exception` to control if it reports exceptions in thread,
this default value has been `false` in Ruby 2.4.
Refer https://www.ruby-lang.org/en/news/2016/11/09/ruby-2-4-0-preview3-released/
* Ruby 2.5 changes `report_on_exception` default value to `true`
since this commit https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=61183&view=revision
This pull request suppresses expected exceptions by setting `report_on_exception` = `false`
it also supports Ruby 2.3 which does not have`report_on_exception`.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions