conf/accounts.rs: print info when displaying watch error
parent
c8da6d2049
commit
72a2ba20dc
|
@ -1081,7 +1081,10 @@ impl Account {
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
self.sender
|
self.sender
|
||||||
.send(ThreadEvent::UIEvent(UIEvent::StatusEvent(
|
.send(ThreadEvent::UIEvent(UIEvent::StatusEvent(
|
||||||
StatusEvent::DisplayMessage(e.to_string()),
|
StatusEvent::DisplayMessage(format!(
|
||||||
|
"Account `{}` watch action returned error: {}",
|
||||||
|
&self.name, e
|
||||||
|
)),
|
||||||
)))
|
)))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue