Commit 102507ff authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1039 Don't use die() to terminate in error case for gab-sync.

Released under the Affero GNU General Public License (AGPL) version 3.
parent dfe66354
......@@ -70,7 +70,8 @@ include_once(SYNC_CONFIG);
GabSyncCLI::RunCommand();
}
catch (Exception $ex) {
die(get_class($ex) . ": ". $ex->getMessage() . PHP_EOL);
fwrite(STDERR, get_class($ex) . ": ". $ex->getMessage() . PHP_EOL);
exit(1);
}
......
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