Fix error type

This commit is contained in:
Bogdan-Ștefan Neacşu
2024-07-02 08:58:48 +00:00
parent b90136ac4e
commit c465eb3efc
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ impl<St> Gateway<St> {
Some(
self.start_authenticator(shutdown.fork("wireguard"))
.await
.map_err(|source| GatewayError::StdError { source })?,
.map_err(|source| GatewayError::AuthenticatorStartError { source })?,
)
} else {
None