Commit bdf3a50
committed
JWTBroker: move error message
This change moves the `LOGGER.error` call when a token cannot be verified from `verify()` to `generateFromToken()`.
On the token generation path, this should be a no-op; however, on the authentication path, this log message was excessive, especially when using mixed authentication since a failure to decode a token is perfectly normal when the token is from an external IDP.1 parent d7f15a2 commit bdf3a50
File tree
1 file changed
+1
-1
lines changed- runtime/service/src/main/java/org/apache/polaris/service/auth
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments