We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2051847 commit 2a03d81Copy full SHA for 2a03d81
Services/FileManager.php
@@ -111,7 +111,7 @@ public function syncFiles($options = array())
111
system("rsync -a --delete " . escapeshellarg($from . '/') . " " . escapeshellarg($to), $result);
112
if ($result !== 0)
113
{
114
- throw new \Exception("Sync failed");
+ throw new \Exception("Sync failed with errorcode '$result'!");
115
}
116
if (isset($options['remove_from_folder']) && $options['remove_from_folder'])
117
0 commit comments