Improve error log

This commit is contained in:
Dany De Bontridder 2020-07-01 00:24:05 +02:00
parent 066d08fbfa
commit b025f0075f
31 changed files with 54 additions and 54 deletions

View file

@ -149,7 +149,7 @@ if ($sub_action == "update")
$act->get();
$act->fromArray($_POST);
$error_id=$e->getCode();
record_log($e->getTraceAsString());
record_log($e->getMessage()." ".$e->getTraceAsString());;
}
}
//----------------------------------------------------------------------
@ -296,7 +296,7 @@ if ($sub_action == "save_action_st2")
echo '</span>';
$sub_action="add_action";
$error_id=$e->getCode();
record_log($e->getTraceAsString());
record_log($e->getMessage()." ".$e->getTraceAsString());;
}
}
//--------------------------------------------------------------------------------