Skip to content

Commit

Permalink
fixed error handler result being passed as operation
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Jun 9, 2024
1 parent 0c032db commit 3e42703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/didkit/plc_importer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def fetch_page
PLCOperation.new(json)
rescue PLCOperation::FormatError, AtHandles::FormatError, ServiceRecord::FormatError => e
@error_handler ? @error_handler.call(e, json) : raise
nil
end
end

Expand Down

0 comments on commit 3e42703

Please sign in to comment.