diff --git a/src/view/dialogProvider/dialogStore.ts b/src/view/dialogProvider/dialogStore.ts index d3867b9a..703f20e4 100644 --- a/src/view/dialogProvider/dialogStore.ts +++ b/src/view/dialogProvider/dialogStore.ts @@ -61,7 +61,7 @@ export const useDialogStore = create( return dialoger; }) .catch((e) => { - console.error('Kunne ikke hente dialogdata', e); + captureMessage(`Kunne ikke hente dialogdata ${e.toString()}`); set( (prevState) => ({ ...prevState, status: Status.ERROR, error: e }), false,