Skip to content

Add a way to add a message to captureException #2844

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

Open
ueman opened this issue Apr 7, 2025 · 0 comments · May be fixed by #2882
Open

Add a way to add a message to captureException #2844

ueman opened this issue Apr 7, 2025 · 0 comments · May be fixed by #2882
Labels
dart Pull requests that update Dart code Feature

Comments

@ueman
Copy link
Collaborator

ueman commented Apr 7, 2025

Problem Statement

A lot of logger allow to record a message and an exception at the same time. For that I want to record the message and the exception via Sentry.captureException(). However, that doesn't allow me to add a message, like captureEvent() or captureMessage does.

Solution Brainstorm

Be able to pass a message to captureException() which eventually just passes through and gets added to the captureEvent call.

Are you willing to submit a PR?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code Feature
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

2 participants