Open midnight-wonderer opened 2 weeks ago
JSON.load does not raise rescue-friendly errors. (See https://github.com/omise/omise-ruby/issues/60.) Use JSON.parse like everyone else.
JSON.load
JSON.parse
When the exception is rescued properly, the business interruption is prevented.
Description
Decision(s)
JSON.load
does not raise rescue-friendly errors. (See https://github.com/omise/omise-ruby/issues/60.)Use
JSON.parse
like everyone else.Business impact (if any)
When the exception is rescued properly, the business interruption is prevented.