mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
1 parent
9b658d86b2
commit
76509830e6
190 files changed
+3469
-930
No files matched your search
+3
-1
@@ -18,7 +18,9 @@ static SEND_PANIC: OnceLock<bool> = OnceLock::new();
|
||||
static SEND_ERROR: OnceLock<bool> = OnceLock::new();
|
||||
|
||||
pub(crate) fn init(config: &Config) -> Option<sentry::ClientInitGuard> {
|
||||
config.sentry.then(|| sentry::init(options(config)))
|
||||
config
|
||||
.sentry
|
||||
.then(|| sentry::init(options(config)))
|
||||
}
|
||||
|
||||
fn options(config: &Config) -> ClientOptions {
|
||||
|
||||
Reference in new issue
Block a user