perhaps better error logging if mailbox_postpassword_script fails

This commit is contained in:
David Goodwin committed 2021-01-25 22:04:04 +00:00
1 parent 336259957d
commit 84ad0ebec7
1 file changed
+1 -1
+1 -1
View File
@@ -137,7 +137,7 @@ class Login {
$firstline='';
$firstline=exec($command, $output, $retval);
if (0 != $retval) {
error_log("Running $command yielded return value=$retval, first line of output=$firstline");
error_log("Running $command yielded return value=$retval, output was: " . json_encode($output));
throw new \Exception($warnmsg_pw);
}