mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-05-05 20:26:26 +02:00
bug: don't convert all oauth token verification errors to resource_unavailable (#1389)
This commit is contained in:
parent
db037d0322
commit
ebdd609ed2
@ -168,7 +168,7 @@ impl VerifyToken for Verifier {
|
||||
..TokenserverError::resource_unavailable()
|
||||
})?
|
||||
.map_err(|e| match e {
|
||||
BlockingError::Error(_) => TokenserverError::resource_unavailable(),
|
||||
BlockingError::Error(inner) => inner,
|
||||
BlockingError::Canceled => TokenserverError {
|
||||
context: "Tokenserver threadpool operation failed".to_owned(),
|
||||
..TokenserverError::internal_error()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user