deleting ResourceSync cleans up open alerts

use .then in alert cleanup
This commit is contained in:
mbecker20
2024-08-16 12:25:35 -04:00
parent 0b40dff72b
commit a89bd4a36d
5 changed files with 88 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ pub fn init(config: &LogConfig) -> anyhow::Result<()> {
(StdioLogMode::Json, None) => registry
.with(tracing_subscriber::fmt::layer().json())
.try_init(),
(StdioLogMode::None, None) => Ok(()),
}
.context("failed to init logger")