mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°3270 Notify on expiration not sending notification (trigger exception)
add boilerplate function and use it to intercept/enrich trigger exception loops
This commit is contained in:
@@ -2004,7 +2004,7 @@ catch(CoreException $e)
|
||||
$oLog->Set('userinfo', '');
|
||||
$oLog->Set('issue', $e->GetIssue());
|
||||
$oLog->Set('impact', 'Page could not be displayed');
|
||||
$oLog->Set('callstack', $e->getTrace());
|
||||
$oLog->Set('callstack', $e->getFullStackTraceAsString());
|
||||
$oLog->Set('data', $e->getContextData());
|
||||
$oLog->DBInsertNoReload();
|
||||
}
|
||||
@@ -2014,7 +2014,7 @@ catch(CoreException $e)
|
||||
}
|
||||
}
|
||||
|
||||
IssueLog::Error('UI.php operation='.$operation.', error='.$e->getMessage()."\n".$e->getTraceAsString());
|
||||
IssueLog::Error('UI.php operation='.$operation.', error='.$e->getMessage()."\n".$e->getFullStackTraceAsString());
|
||||
}
|
||||
|
||||
// For debugging only
|
||||
|
||||
Reference in New Issue
Block a user