Improve error log
This commit is contained in:
parent
066d08fbfa
commit
b025f0075f
31 changed files with 54 additions and 54 deletions
|
|
@ -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());;
|
||||
}
|
||||
}
|
||||
//--------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue