We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ada71d9 commit a145455Copy full SHA for a145455
src/LogToDB.php
@@ -223,10 +223,7 @@ private function parseIfException($context)
223
$newexception['line'] = $exception->getLine();
224
}
225
if (method_exists($exception, 'getTrace')) {
226
- $newexception['trace'] = $exception->getTrace();
227
- }
228
- if (method_exists($exception, 'getPrevious')) {
229
- $newexception['previous'] = $exception->getPrevious();
+ $newexception['trace'] = $exception->getTraceAsString();
230
231
if (method_exists($exception, 'getSeverity')) {
232
$newexception['severity'] = $exception->getSeverity();
0 commit comments