fix GDrive error message
This commit is contained in:
parent
a8e65dd63a
commit
45e9d19a75
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ class GoogleDriveSyncService(context: Context, json: Json, syncPreferences: Sync
|
||||||
|
|
||||||
if (retries >= maxRetries) {
|
if (retries >= maxRetries) {
|
||||||
logcat(LogPriority.ERROR) { "Max retries reached, exiting sync process" }
|
logcat(LogPriority.ERROR) { "Max retries reached, exiting sync process" }
|
||||||
throw Exception(context.stringResource(SYMR.strings.error_before_sync_gdrive, "Max retries reached."))
|
throw Exception("Max retries reached.")
|
||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
logcat(LogPriority.ERROR, throwable = e) { "Error in GoogleDrive beforeSync" }
|
logcat(LogPriority.ERROR, throwable = e) { "Error in GoogleDrive beforeSync" }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue