fix(main): show correct relay url on relay change
This commit is contained in:
parent
b0c92e64fa
commit
bdb8b6e814
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ async fn main() -> Result<()> {
|
||||||
queue_events.append(&mut events);
|
queue_events.append(&mut events);
|
||||||
queue = Some((queue_url, queue_events));
|
queue = Some((queue_url, queue_events));
|
||||||
} else {
|
} else {
|
||||||
info!("Sending {} events to {url} due to relay change", queue_events.len());
|
info!("Sending {} events to {queue_url} due to relay change", queue_events.len());
|
||||||
client.batch_event_to(vec![queue_url], queue_events, RelaySendOptions::new()).await;
|
client.batch_event_to(vec![queue_url], queue_events, RelaySendOptions::new()).await;
|
||||||
queue = None;
|
queue = None;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue