fix GDrive error message

This commit is contained in:
Cuong-Tran 2024-07-02 13:54:50 +07:00
parent a8e65dd63a
commit 45e9d19a75
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -154,7 +154,7 @@ class GoogleDriveSyncService(context: Context, json: Json, syncPreferences: Sync
if (retries >= maxRetries) {
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) {
logcat(LogPriority.ERROR, throwable = e) { "Error in GoogleDrive beforeSync" }