Browse Source

conf/accounts.rs: print info when displaying watch error

master
Manos Pitsidianakis 3 months ago
parent
commit
72a2ba20dc
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 5
      src/conf/accounts.rs

5
src/conf/accounts.rs

@ -1081,7 +1081,10 @@ impl Account {
Err(e) => {
self.sender
.send(ThreadEvent::UIEvent(UIEvent::StatusEvent(
StatusEvent::DisplayMessage(e.to_string()),
StatusEvent::DisplayMessage(format!(
"Account `{}` watch action returned error: {}",
&self.name, e
)),
)))
.unwrap();
}

Loading…
Cancel
Save