diff --git a/src/app.tsx b/src/app.tsx index 200940d8..448929f1 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -82,7 +82,12 @@ const HAS_RESOURCE_EVENTS_KEY = 'hasResourceEvents'; const probeHasResourceEvents = async (): Promise => { try { // No date range = "ever"; scope is clamped to the caller server-side. - const res = await queryResourceEvents({ perPage: 1 }); + const res = await queryResourceEvents( + { perPage: 1 }, + { + skipErrorHandler: true + } + ); const value = (res?.pagination?.total ?? 0) > 0; try { window.sessionStorage.setItem( diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx index f467a355..214f322e 100644 --- a/src/layouts/index.tsx +++ b/src/layouts/index.tsx @@ -382,7 +382,7 @@ export default (props: any) => {