commit cc734e2a66de3f677bafaa51b574bac2a8a0ae4a
parent a36ce31fc7687109deddd9b30b1f3ca29741385f
Author: William Casarin <jb55@jb55.com>
Date: Wed, 10 Jul 2024 11:28:27 -0700
logs: add relay string to relay connection errors
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app.rs b/src/app.rs
@@ -219,7 +219,7 @@ fn try_process_event(damus: &mut Damus, ctx: &egui::Context) -> Result<()> {
RelayEvent::Opened => send_initial_filters(damus, &relay),
// TODO: handle reconnects
RelayEvent::Closed => warn!("{} connection closed", &relay),
- RelayEvent::Error(e) => error!("wsev->relayev: {}", e),
+ RelayEvent::Error(e) => error!("{}: {}", &relay, e),
RelayEvent::Other(msg) => debug!("other event {:?}", &msg),
RelayEvent::Message(msg) => process_message(damus, &relay, &msg),
}