From 8bd58186aa952bb02704de93ab0755fb03e5e6d9 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Thu, 8 Aug 2024 10:41:13 -0700 Subject: [PATCH] Remove empty line --- .../lib/opentelemetry/instrumentation/mysql2/patches/client.rb | 1 - .../lib/opentelemetry/instrumentation/trilogy/patches/client.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/patches/client.rb b/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/patches/client.rb index 65365e208..b2b08b073 100644 --- a/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/patches/client.rb +++ b/instrumentation/mysql2/lib/opentelemetry/instrumentation/mysql2/patches/client.rb @@ -94,7 +94,6 @@ def _otel_client_attributes(sql) def collection_name(sql) sql.scan(TABLE_NAME).flatten[0] - rescue StandardError nil end diff --git a/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/patches/client.rb b/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/patches/client.rb index a4f5bce8f..26d6bcdac 100644 --- a/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/patches/client.rb +++ b/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/patches/client.rb @@ -96,7 +96,6 @@ def client_attributes(sql = nil) def collection_name(sql) sql.scan(TABLE_NAME).flatten[0] - rescue StandardError nil end