Improve error log
This commit is contained in:
parent
066d08fbfa
commit
b025f0075f
31 changed files with 54 additions and 54 deletions
|
|
@ -273,7 +273,7 @@ class Periode
|
|||
catch (Exception $e)
|
||||
{
|
||||
record_log($e->getMessage()." - ".$e->getCode());
|
||||
record_log($e->getTraceAsString());
|
||||
record_log($e->getMessage()." ".$e->getTraceAsString());;
|
||||
$this->cn->rollback();
|
||||
throw $e;
|
||||
}
|
||||
|
|
@ -495,7 +495,7 @@ class Periode
|
|||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
record_log($e->getTraceAsString());
|
||||
record_log($e->getMessage()." ".$e->getTraceAsString());;
|
||||
$this->cn->rollback();
|
||||
throw $e;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue