mirror of
https://github.com/Dummi26/musicdb.git
synced 2025-12-14 11:56:16 +01:00
server can now send error messages to clients
This commit is contained in:
@@ -438,7 +438,9 @@ async fn sse_handler(
|
||||
.collect::<String>(),
|
||||
)
|
||||
}
|
||||
Command::Save | Command::InitComplete => return Poll::Pending,
|
||||
Command::Save | Command::InitComplete | Command::ErrorInfo(..) => {
|
||||
return Poll::Pending
|
||||
}
|
||||
}))
|
||||
} else {
|
||||
return Poll::Pending;
|
||||
|
||||
Reference in New Issue
Block a user