Browse Source

Replace analytics with bbtel in client error exclusion

pull/5694/head
Rory Powell 4 years ago
parent
commit
31d644a448
  1. 2
      packages/client/src/api/api.js

2
packages/client/src/api/api.js

@ -40,7 +40,7 @@ export const API = createAPIClient({
// Don't notify if the URL contains the word analytics as it may be
// blocked by browser extensions
// todo: this can be removed now?
if (!url?.includes("analytics")) {
if (!url?.includes("bbtel")) {
notificationStore.actions.error(message)
}
}

Loading…
Cancel
Save