diff options
author | 杨宇千 <crupest@outlook.com> | 2019-07-23 19:03:25 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-07-23 19:03:25 +0800 |
commit | 58985e8f2a6931029974067b2c1e78963e4508f0 (patch) | |
tree | 572a2ae5c65c484718b3bfda68fd8babc56fe6f2 /Timeline/Services/JwtService.cs | |
parent | c84faf2b8f5a55ae170e92ead6516e573a318e65 (diff) | |
download | timeline-58985e8f2a6931029974067b2c1e78963e4508f0.tar.gz timeline-58985e8f2a6931029974067b2c1e78963e4508f0.tar.bz2 timeline-58985e8f2a6931029974067b2c1e78963e4508f0.zip |
Fix bugs and write unit tests.
Diffstat (limited to 'Timeline/Services/JwtService.cs')
-rw-r--r-- | Timeline/Services/JwtService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/JwtService.cs b/Timeline/Services/JwtService.cs index f721971b..e970bbd4 100644 --- a/Timeline/Services/JwtService.cs +++ b/Timeline/Services/JwtService.cs @@ -126,7 +126,7 @@ namespace Timeline.Services Version = version }; } - catch (SecurityTokenException e) + catch (Exception e) { throw new JwtTokenVerifyException("Validate token failed caused by a SecurityTokenException. See inner exception.", e); } |