diff --git a/apps/web/instrumentation.ts b/apps/web/instrumentation.ts index 981321d32..7fb6d8ffc 100644 --- a/apps/web/instrumentation.ts +++ b/apps/web/instrumentation.ts @@ -25,5 +25,6 @@ export const onRequestError: Instrumentation.onRequestError = async (err) => { const service = await getServerMonitoringService(); + await service.ready(); await service.captureException(err as Error); };