lib/hypernova/controller_helpers.rb in hypernova-1.2.0 vs lib/hypernova/controller_helpers.rb in hypernova-1.3.0
- old
+ new
@@ -86,10 +86,10 @@
begin
will_send_request(hash)
result = @hypernova_batch.submit!
on_success(result, hash)
rescue StandardError => e
- on_error(e)
+ on_error(e, nil, hash)
result = @hypernova_batch.submit_fallback!
end
else
result = @hypernova_batch.submit_fallback!
end