Commit 18942646 authored by Ad Schellevis's avatar Ad Schellevis

(gdrive backup) crashreport Uncaught exception 'Google_Service_Exception'...

(gdrive backup) crashreport   Uncaught exception 'Google_Service_Exception' with message 'Error calling DELE....
parent b811cc2d
......@@ -416,7 +416,11 @@ function backup_to_google_drive()
foreach ($configfiles as $filename => $file) {
if ($fcount >= $config->system->remotebackup->GDriveBackupCount->__toString()) {
log_error("remove " . $filename . " from Google Drive");
$client->delete($file);
try {
$client->delete($file);
} catch (Google_Service_Exception $e) {
log_error("unable to remove " . $filename . " from Google Drive");
}
}
$fcount++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment