Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ariel Valentin <[email protected]>
  • Loading branch information
hannahramadan and arielvalentin authored Nov 8, 2024
1 parent 4af3e2c commit d6ffcdf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _otel_client_attributes(sql)

def db_sql_table_name(sql)
Regexp.last_match(1) if sql =~ TABLE_NAME
rescue StandardError
rescue StandardError => e
OpenTelemetry.handle_error(message: 'Error extracting collection name', exception: e)
nil
end
Expand Down

0 comments on commit d6ffcdf

Please sign in to comment.