Skip to content

Commit

Permalink
Fix missing frames arguments when calling captureEvent() without ex…
Browse files Browse the repository at this point in the history
…plicit stacktrace or exception (#1223)
  • Loading branch information
ste93cry authored Jun 18, 2021
1 parent 3bb122f commit a6e3d6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Fix missing collecting of frames's arguments when using `captureEvent()` without expliciting a stacktrace or an exception (#1223)

## 3.3.0 (2021-05-26)

- Allow setting a custom timestamp on the breadcrumbs (#1193)
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private function addMissingStacktraceToEvent(Event $event): void
}

$event->setStacktrace($this->stacktraceBuilder->buildFromBacktrace(
debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS),
debug_backtrace(0),
__FILE__,
__LINE__ - 3
));
Expand Down

0 comments on commit a6e3d6e

Please sign in to comment.