File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
core/src/main/scala/tech/beshu/ror/acl/blocks/rules Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ class JwtAuthRule(val settings: JwtAuthRule.Settings)
115
115
.toEither
116
116
.map(JwtTokenPayload .apply)
117
117
.left.map { ex =>
118
- logger.errorEx(s " JWT token ' ${token.show}' parsing error " , ex)
118
+ logger.errorEx(s " JWT token ' ${token.show}' parsing error: " + ex.getClass.getSimpleName , ex)
119
119
()
120
120
}
121
121
case _ =>
@@ -126,7 +126,7 @@ class JwtAuthRule(val settings: JwtAuthRule.Settings)
126
126
.toEither
127
127
.map(JwtTokenPayload .apply)
128
128
.left.map { ex =>
129
- logger.errorEx(s " JWT token ' ${token.show}' parsing error " , ex)
129
+ logger.errorEx(s " JWT token ' ${token.show}' parsing error: " + ex.getClass.getSimpleName , ex)
130
130
()
131
131
}
132
132
}
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class RorKbnAuthRule(val settings: Settings)
99
99
.toEither
100
100
.map(JwtTokenPayload .apply)
101
101
.left.map { ex =>
102
- logger.errorEx(s " JWT token ' ${token.show}' parsing error " , ex)
102
+ logger.errorEx(s " JWT token ' ${token.show}' parsing error " + ex.getClass.getSimpleName , ex)
103
103
()
104
104
}
105
105
}
You can’t perform that action at this time.
0 commit comments