strip base dir on exception reports
This commit is contained in:
parent
c2c7aa239c
commit
a17c0f160b
@ -433,7 +433,7 @@ class ErrorHandler {
|
|||||||
$report['Type'] = 'Exception';
|
$report['Type'] = 'Exception';
|
||||||
$report['Message'] = $message;
|
$report['Message'] = $message;
|
||||||
$report['Class'] = $exceptionClass;
|
$report['Class'] = $exceptionClass;
|
||||||
$report['FileLine'] = $exception->getFile() . ': ' . $exception->getLine();
|
$report['FileLine'] = $this->stripBaseDir($exception->getFile()) . ': ' . $exception->getLine();
|
||||||
$report['SourceClass'] = $sourceClass;
|
$report['SourceClass'] = $sourceClass;
|
||||||
$report['PluginId'] = PluginManager::getPluginId($sourceClass);
|
$report['PluginId'] = PluginManager::getPluginId($sourceClass);
|
||||||
$report['Backtrace'] = $traceString;
|
$report['Backtrace'] = $traceString;
|
||||||
|
Loading…
Reference in New Issue
Block a user