Skip to content

Commit ce49c3e

Browse files
committed
Remove unneeded rescue
Now caught by the Processor
1 parent c7b33e4 commit ce49c3e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/jsonapi/operation_dispatcher.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ def process_operation(operation)
6060

6161
def with_default_handling(&block)
6262
block.yield
63-
rescue JSONAPI::Exceptions::Error => e
64-
raise e
65-
6663
rescue => e
6764
if JSONAPI.configuration.exception_class_whitelisted?(e)
6865
raise e

0 commit comments

Comments
 (0)