Skip to content

Commit b8bbc3d

Browse files
Dmitry TarasovDmitry Tarasov
authored andcommitted
Appending current file/line instead of prepending
1 parent 4586520 commit b8bbc3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Stackify/Log/Entities/ErrorWrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ public function __construct($object, $nestingLevel = 1)
2626
$this->type = get_class($object);
2727
$this->code = $object->getCode();
2828
$trace = $object->getTrace();
29-
array_unshift($trace, array(
29+
$trace[] = array(
3030
'file' => $object->getFile(),
3131
'line' => $object->getLine(),
32-
));
32+
);
3333
$this->setTrace($trace);
3434
$previous = $object->getPrevious();
3535
if (null !== $previous) {

0 commit comments

Comments
 (0)