Sentry
Summary
Sentry is how we log errors in Dendron.
Architecture
- sentry is initialized inside of
plugin-core
in ../packages/plugin-core/src/_extension.ts (Private) if telemetry is not disabled
Examples
- sentry captures examples in the following places:
- if plugin activate (Private) logic throws an error
- anytime error level is logged inside of plugin-core (Private)
- check if plugin is currently active -> ../packages/plugin-core/src/workspace.ts (Private)
- when api-server throws an error in a return method -> ../packages/api-server/src/Server.ts (Private)
Relevant Files
- common-all/errorReporting (Private): utilities for managing errors
Lookup
Backlinks