From 81749e050bc07787c44b70db905a153f885b65d6 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Fri, 6 Oct 2023 10:10:17 -0400 Subject: [PATCH] Avoid trying to send message if sentry isnt' configured --- client/src/components/Panels/ToolBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Panels/ToolBox.vue b/client/src/components/Panels/ToolBox.vue index 39ae9f3774eb..cc4826cdd2ab 100644 --- a/client/src/components/Panels/ToolBox.vue +++ b/client/src/components/Panels/ToolBox.vue @@ -183,7 +183,7 @@ export default { const Galaxy = getGalaxyInstance(); this.results = results; if (!this.hasResults) { - Galaxy.Sentry.captureMessage("ClientSearchMiss", { + Galaxy.Sentry?.captureMessage("ClientSearchMiss", { extra: { query: this.query, },