mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-09 11:25:55 +00:00
feat(execution_layer): log more detail when JWT auth fails (#9051)
Co-Authored-By: CATS <dev@yaksha3.ai> Co-Authored-By: chonghe <44791194+chong-he@users.noreply.github.com>
This commit is contained in:
@@ -79,7 +79,7 @@ impl From<reqwest::Error> for Error {
|
||||
e.status(),
|
||||
Some(StatusCode::UNAUTHORIZED) | Some(StatusCode::FORBIDDEN)
|
||||
) {
|
||||
Error::Auth(auth::Error::InvalidToken)
|
||||
Error::Auth(auth::Error::InvalidToken(e.to_string()))
|
||||
} else {
|
||||
Error::HttpClient(e.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user