Sentry integration #745
Answered
by
fzyzcjy
vincent-herlemont
asked this question in
Q&A
-
Related to #740 (comment) Try to integrate sentry # main.dart
await api.initSentry(); # api.rs
pub fn init_sentry() {
let _guard = sentry::init(("<sentry endpoint>", sentry::ClientOptions {
release: sentry::release_name!(),
..Default::default()
}));
}
pub fn fail_function(db_path: String) {
unreachable!("test sentry.")
} When I call the
Follow up |
Beta Was this translation helpful? Give feedback.
Answered by
fzyzcjy
Sep 26, 2022
Replies: 1 comment 6 replies
-
You may need to report error to sentry in your own error handler. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
vincent-herlemont
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may need to report error to sentry in your own error handler.