Merge pull request #165 from ente-io/regression_bug_fix
Bugfix: Logout user on invalid token
This commit is contained in:
commit
cf14656c6e
|
@ -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