Skip to content

Commit

Permalink
Avoid trying to send message if sentry isnt' configured
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 6, 2023
1 parent 2565db1 commit 81749e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Panels/ToolBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 81749e0

Please sign in to comment.