diff --git a/client/src/components/Panels/ToolBox.vue b/client/src/components/Panels/ToolBox.vue index 30700602e42b..cc4826cdd2ab 100644 --- a/client/src/components/Panels/ToolBox.vue +++ b/client/src/components/Panels/ToolBox.vue @@ -180,7 +180,15 @@ export default { this.queryPending = true; }, onResults(results, closestTerm = null) { + const Galaxy = getGalaxyInstance(); this.results = results; + if (!this.hasResults) { + Galaxy.Sentry?.captureMessage("ClientSearchMiss", { + extra: { + query: this.query, + }, + }); + } this.closestTerm = closestTerm; this.queryFilter = this.hasResults ? this.query : null; this.setButtonText();