Bugfix: Logout user on invalid token
This commit is contained in:
parent
b1560d4c69
commit
b177469df8
|
@ -104,6 +104,9 @@ class RemoteSyncService {
|
|||
_logger.severe("Error executing remote sync ", e, s);
|
||||
_existingSync.complete();
|
||||
_existingSync = null;
|
||||
if (e is UnauthorizedError) {
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue