mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
fix and enable collapsible_if lint
Signed-off-by: June Strawberry <june@vern.cc>
This commit is contained in:
54 files changed
+453
-504
No files matched your search
+4
-4
@@ -70,10 +70,10 @@ fn before_send(event: Event<'static>) -> Option<Event<'static>> {
|
||||
}
|
||||
|
||||
//NOTE: we can enable this to specify error!(sentry = true, ...)
|
||||
if let Some(Context::Other(context)) = event.contexts.get("Rust Tracing Fields") {
|
||||
if !context.contains_key("sentry") {
|
||||
//return None;
|
||||
}
|
||||
if let Some(Context::Other(context)) = event.contexts.get("Rust Tracing Fields")
|
||||
&& !context.contains_key("sentry")
|
||||
{
|
||||
//return None;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user