summaryrefslogtreecommitdiff
path: root/lib/gitlab/error_tracking.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/error_tracking.rb')
-rw-r--r--lib/gitlab/error_tracking.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/gitlab/error_tracking.rb b/lib/gitlab/error_tracking.rb
index e91488c7c27..38ac5d9af74 100644
--- a/lib/gitlab/error_tracking.rb
+++ b/lib/gitlab/error_tracking.rb
@@ -146,9 +146,6 @@ module Gitlab
else
inject_context_for_exception(event, ex.cause) if ex.cause.present?
end
- # This should only happen on PostgreSQL v12 queries
- rescue PgQuery::ParseError
- event.extra[:sql] = ex.sql.to_s
end
end
end