Browse Source
Merge pull request #5575 from Budibase/fix/distinct-id
Fix: You must pass a 'distinctId' (public pages)
master
Rory Powell
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
packages/client/src/api/api.js
|
|
|
@ -28,7 +28,7 @@ export const API = createAPIClient({ |
|
|
|
// Or we could check error.status and redirect to login on a 403 etc.
|
|
|
|
onError: error => { |
|
|
|
const { status, method, url, message, handled } = error || {} |
|
|
|
const ignoreErrorUrls = ["analytics", "/api/global/self"] |
|
|
|
const ignoreErrorUrls = ["bbtel", "/api/global/self"] |
|
|
|
|
|
|
|
// Log any errors that we haven't manually handled
|
|
|
|
if (!handled) { |
|
|
|
|