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

Best way to manually trigger a report with a backtrace #482

Closed
zanderwar opened this issue Apr 8, 2020 · 1 comment
Closed

Best way to manually trigger a report with a backtrace #482

zanderwar opened this issue Apr 8, 2020 · 1 comment

Comments

@zanderwar
Copy link

How do you send the backtrace along with the message if you have manually triggered Rollbar::log() ? I'm using it to report SQL issues that occur...

Currently I'm sending it as $extra data but that only appears under "Occurrences" and is much harder to read and would instead like it to appear under "Message" if possible like it would for PHP exceptions etc.

How i'm sending the backtrace currently:

\Rollbar\Rollbar::log(\Rollbar\Payload\Level::CRITICAL, "SQL ERROR: SELECT * FROM ..... (example)" , debug_backtrace());

Thanks for any help

@zanderwar
Copy link
Author

Duplicate of #471 closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant