Commit 4b2ca021 authored by Nigel McNie's avatar Nigel McNie
Browse files

Dump the returncode of failure when we can't zip up an export.

parent c714e4a8
......@@ -166,7 +166,7 @@ class PluginExportLeap extends PluginExport {
exec($command, $output, $returnvar);
chdir($cwd);
if ($returnvar != 0) {
throw new SystemException('Failed to zip the export file');
throw new SystemException('Failed to zip the export file: return code ' . $returnvar);
}
return $this->zipfile;
}
......
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