Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument in stacktrace #519

Open
jeroensmit opened this issue Feb 11, 2019 · 1 comment
Open

Argument in stacktrace #519

jeroensmit opened this issue Feb 11, 2019 · 1 comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature

Comments

@jeroensmit
Copy link

jeroensmit commented Feb 11, 2019

Description

I would like access arguments from the stacktrace inside the notification callback, which is currently not possible.

It's clear that this is a design choice atm given the following code:

// Reduce memory usage by omitting args and objects from backtrace
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS & ~DEBUG_BACKTRACE_PROVIDE_OBJECT);

It would be nice if there was a config option to change this.

If you also see a benefit in this or would suggest a different solution, I am happy to provide a PR.

@Cawllec
Copy link
Contributor

Cawllec commented Feb 11, 2019

Hi @jeroensmit, thanks for the feedback, I'll raise this ticket to our products team to consider.

@Cawllec Cawllec added the feature request Request for a new feature label Feb 11, 2019
@abigailbramble abigailbramble added the backlog We hope to fix this feature/bug in the future label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants