mirror of
https://github.com/mikedilger/chorus.git
synced 2026-08-01 07:21:39 +00:00
fix compile error
This commit is contained in:
parent
43d7efbbda
commit
c420335188
@ -536,7 +536,7 @@ impl WebSocketService {
|
||||
if let Err(e) = self.handle_nostr_message(&msg).await {
|
||||
self.error_punishment += e.inner.punishment();
|
||||
log::error!(target: "Client", "{}: {e}", self.peer);
|
||||
if !matches!(e, ChorusError::AuthRequired) {
|
||||
if !matches!(e.inner, ChorusError::AuthRequired) {
|
||||
if msg.len() < 2048 {
|
||||
log::error!(target: "Client", "{}: msg was {}", self.peer, msg);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user