Caches should return an error instead of invoking a handler.
This commit is contained in:
@@ -177,7 +177,7 @@ func (t *authorizedTransport) RefreshToken() error {
|
||||
|
||||
t.token = token
|
||||
if t.cache != nil {
|
||||
t.cache.Write(token)
|
||||
return t.cache.Write(token)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user