aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Authenticate/AuthHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Authenticate/AuthHandler.cs')
-rw-r--r--Timeline/Authenticate/AuthHandler.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Timeline/Authenticate/AuthHandler.cs b/Timeline/Authenticate/AuthHandler.cs
index 75d3b49f..41cb11c6 100644
--- a/Timeline/Authenticate/AuthHandler.cs
+++ b/Timeline/Authenticate/AuthHandler.cs
@@ -87,6 +87,10 @@ namespace Timeline.Authenticate
return AuthenticateResult.Success(new AuthenticationTicket(principal, AuthConstants.Scheme));
}
+ catch (ArgumentException)
+ {
+ throw; // this exception usually means server error.
+ }
catch (Exception e)
{
_logger.LogInformation(e, "A jwt token validation failed.");