Fix error reporting

This commit is contained in:
Alan Garcia 2014-03-07 12:50:48 +00:00
parent 83733160e5
commit 237dc0e3a5
1 changed files with 1 additions and 1 deletions

View File

@ -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");