Skip to content

Commit

Permalink
Merge pull request #1707 from DSD-DBS/hide-unauthenticated-error
Browse files Browse the repository at this point in the history
fix: Hide "Unauthenticated" error in the frontend
  • Loading branch information
MoritzWeber0 authored Aug 14, 2024
2 parents 306e2f6 + 8a636b2 commit d514394
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export class ErrorHandlingInterceptor implements HttpInterceptor {
error: (err) => {
if (
this.isErrorHandlingSkipped(request) ||
err.error.detail?.err_code == 'TOKEN_SIGNATURE_EXPIRED'
err.error.detail?.err_code == 'TOKEN_SIGNATURE_EXPIRED' ||
err.error.detail?.err_code == 'UNAUTHENTICATED'
) {
return;
}
Expand Down

0 comments on commit d514394

Please sign in to comment.