style: use ? operator instead of unwrap in websockets
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
Radical 2025-05-26 19:17:36 +02:00
parent 6640d03b70
commit 5d26f94cdd
2 changed files with 19 additions and 15 deletions

View file

@ -52,6 +52,8 @@ pub enum Error {
UrlParseError(#[from] url::ParseError),
#[error(transparent)]
PayloadError(#[from] PayloadError),
#[error(transparent)]
WsClosed(#[from] actix_ws::Closed),
#[error("{0}")]
PasswordHashError(String),
#[error("{0}")]