We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a590275 commit f8a3364Copy full SHA for f8a3364
src/main/java/org/dfbf/soundlink/global/auth/JwtProvider.java
@@ -76,12 +76,12 @@ public boolean validateToken(String token) {
76
return true;
77
}catch (ExpiredJwtException e) {
78
log.warn("[ERROR] Token is expired.");
79
- throw new CustomJwtException("토큰이 만료.", e);
+ throw e;
80
} catch (JwtException e) {
81
log.warn("[ERROR] Token validation failed: {}", e.getMessage());
82
- throw new CustomJwtException("토큰 검증 실패", e);
83
} catch (Exception e) {
84
- throw new CustomJwtException("예기치 않은 오류 발생", e);
85
}
86
87
0 commit comments