Switch out anyhow for miette

This commit is contained in:
Nadja Reitzenstein
2022-06-02 17:46:26 +02:00
parent 17fd08b7e5
commit 5f2214abe9
16 changed files with 454 additions and 127 deletions

View File

@ -60,7 +60,7 @@ impl APIServer {
acceptor: TlsAcceptor,
sessionmanager: SessionManager,
authentication: AuthenticationHandle,
) -> anyhow::Result<Self> {
) -> miette::Result<Self> {
let span = tracing::info_span!("binding API listen sockets");
let _guard = span.enter();