Merge pull request #5575 from Budibase/fix/distinct-id
Fix: You must pass a 'distinctId' (public pages)
This commit is contained in:
commit
39356b126e
|
@ -28,7 +28,7 @@ export const API = createAPIClient({
|
||||||
// Or we could check error.status and redirect to login on a 403 etc.
|
// Or we could check error.status and redirect to login on a 403 etc.
|
||||||
onError: error => {
|
onError: error => {
|
||||||
const { status, method, url, message, handled } = 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
|
// Log any errors that we haven't manually handled
|
||||||
if (!handled) {
|
if (!handled) {
|
||||||
|
|
Loading…
Reference in New Issue