Skip to content

Commit

Permalink
Fix bad autocorrecting
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jul 11, 2023
1 parent 5f31a2c commit 18d3294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/traject/writers/solr_better_json_writer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def send_single(c)
resp = @http_client.post @solr_update_url, json_package, 'Content-type' => 'application/json'
# Catch Timeouts and network errors as skipped records, but otherwise
# allow unexpected errors to propagate up.
rescue *skippable_exceptions => e
rescue *skippable_exceptions => exception # rubocop:disable Naming/RescuedExceptionsVariableName https://github.com/rubocop/rubocop/issues/11809
# no body, local variable exception set above will be used below
end

Expand Down

0 comments on commit 18d3294

Please sign in to comment.