Fix error reporting
This commit is contained in:
parent
83733160e5
commit
237dc0e3a5
|
@ -175,7 +175,7 @@ while ($rr=$action->get_action()){
|
||||||
// Get the error (if exists).
|
// Get the error (if exists).
|
||||||
if(isset($output[0])){
|
if(isset($output[0])){
|
||||||
$return=$output[0];
|
$return=$output[0];
|
||||||
$error_raise.="Action n°".$r["id"]." '".$r["type"]."' failed! With user: ".$r["user"]."\nHere is the complete output:\n".print_r($output);
|
$error_raise.="\nAction n°".$r["id"]." '".$r["type"]."' failed! With user: ".$r["user"]."\nHere is the complete output:\n".print_r($output);
|
||||||
}
|
}
|
||||||
// We finished the action, notify the DB.
|
// We finished the action, notify the DB.
|
||||||
d("Finishing... return value is : $return\n");
|
d("Finishing... return value is : $return\n");
|
||||||
|
|
Loading…
Reference in New Issue