Reduced logging

This commit is contained in:
M66B
2021-11-28 11:15:22 +01:00
parent 76e8794073
commit 10d957e7a9
2 changed files with 4 additions and 2 deletions

View File

@@ -471,6 +471,7 @@ public class Log {
if (ex instanceof IllegalStateException &&
(no_internet.equals(ex.getMessage()) ||
"Token refreshed".equals(ex.getMessage()) ||
"Not connected".equals(ex.getMessage()) ||
"This operation is not allowed on a closed folder".equals(ex.getMessage())))
return false;
@@ -1504,7 +1505,8 @@ public class Log {
return null;
if (ex instanceof IllegalStateException &&
("Not connected".equals(ex.getMessage()) ||
("Token refreshed".equals(ex.getMessage()) ||
"Not connected".equals(ex.getMessage()) ||
"This operation is not allowed on a closed folder".equals(ex.getMessage())))
return null;
}

View File

@@ -143,7 +143,7 @@ public class ServiceAuthenticator extends Authenticator {
Log.w(ex);
}
throw new IllegalStateException("Token needs refresh");
throw new IllegalStateException("Token refreshed");
}
}