Skip to content

Commit

Permalink
Bedre feilmelding på sist oppdatert 401
Browse files Browse the repository at this point in the history
  • Loading branch information
tu55eladd committed Dec 20, 2024
1 parent 5839c05 commit 04f2062
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/dialogProvider/dialogStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export const useDialogStore = create(
}
} catch (e) {
if (e instanceof UnautorizedError) {
captureMessage('UnautorizedError 401 på henting av sist oppdatert');
} else {
captureMessage('Kunne ikke hente sist oppdatert');
}
Expand Down

0 comments on commit 04f2062

Please sign in to comment.