Skip to content

Commit

Permalink
More detailed error message if destination is not there
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Jul 9, 2024
1 parent b7e3fef commit 83dc1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
ABHelper::handlePrePostScript($abSettings->preRunScript, 'pre-run', $abDestination);

if (!file_exists($abSettings->destination) || !is_writable($abSettings->destination)) {
ABHelper::backupLog("Destination is unavailable or not writeable!", ABHelper::LOGLEVEL_ERR);
ABHelper::backupLog("Destination is unavailable or not writeable! Did you created the destination folder?", ABHelper::LOGLEVEL_ERR);
goto end;
}

Expand Down

0 comments on commit 83dc1c1

Please sign in to comment.