Automatically strip BB_PATH_ROOT from backtrace

This commit is contained in:
Belle Aerni committed 2022-10-28 23:52:11 -07:00
1 parent 0725d02cae
commit 644768fb86
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ class Box_Exception extends Exception
$entry_file = 'NO_FILE';
if (array_key_exists('file', $entry)) {
$entry_file = $entry['file'];
$entry_file = str_replace(BB_PATH_ROOT, '' , $entry['file']);
}
$entry_line = 'NO_LINE';
if (array_key_exists('line', $entry)) {