BUG: fixed bug that didn't allow error to be properly reported
This commit is contained in:
parent
173a93b724
commit
45cd6eb1ba
@ -51,7 +51,7 @@ $onUpdate_phpCode
|
|||||||
|
|
||||||
// Handle errors
|
// Handle errors
|
||||||
if (\$retVal === false || !empty(\$error)) {
|
if (\$retVal === false || !empty(\$error)) {
|
||||||
file_put_contents('php://stderr', "Error: $error\n");
|
file_put_contents('php://stderr', "Error: \$error\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user