Gracefully handle SQL parse errors in Sentry error tracker
If a SQL query cannot be parsed, previously the Sentry error tracker would throw a `PgQuery::ParseError` instead of handling it gracefully. This commit fixes a spec failure that occurred when a bad SQL query gets caught by the cross-join detector and bubbles up to the Sentry error tracker. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/348207
Showing
Please register or sign in to comment