Please do not open a pull request yet. A maintainer reviews the report and adds the ready label once it is confirmed.
What happened?
When running the app with crash reporting disabled in settings (or when testing a release build locally), the console is flooded with fatal Sentry SDK errors whenever a Redux action is dispatched:
[Sentry] [fatal] ... The SDK is disabled, so addBreadcrumb doesn't work. Please ensure to start the SDK before adding breadcrumbs.
This happens because LogActionsReducer and GitClient directly call SentrySDK.addBreadcrumb and SentrySDK.captureMessage without first checking if Sentry is enabled.
Steps to reproduce
- Run a Release build of Supacode.
- Turn off Crash Reporting in the settings (or don't provide a Sentry DSN).
- Perform any action in the app that triggers a Redux action or a failing git command.
- See the console flooded with Sentry fatal errors.
Supacode version and build
0.10.9
macOS version
macOS 26.4
System locale
en_US
Are you planning to fix this yourself?
Before submitting
Please do not open a pull request yet. A maintainer reviews the report and adds the
readylabel once it is confirmed.What happened?
When running the app with crash reporting disabled in settings (or when testing a release build locally), the console is flooded with fatal Sentry SDK errors whenever a Redux action is dispatched:
[Sentry] [fatal] ... The SDK is disabled, so addBreadcrumb doesn't work. Please ensure to start the SDK before adding breadcrumbs.This happens because
LogActionsReducerandGitClientdirectly callSentrySDK.addBreadcrumbandSentrySDK.captureMessagewithout first checking if Sentry is enabled.Steps to reproduce
Supacode version and build
0.10.9
macOS version
macOS 26.4
System locale
en_US
Are you planning to fix this yourself?
ready.Before submitting
ready.