diff options
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go index cf5f1ec1..beedabca 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -288,6 +288,9 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { } case *types.LabelList: acct.labels = msg.Labels + case *types.ConnError: + acct.logger.Printf("Connection error = %v", msg.Error) + acct.aerc.PushError(fmt.Sprintf("%v", msg.Error)) case *types.Error: acct.logger.Printf("%v", msg.Error) acct.aerc.PushError(fmt.Sprintf("%v", msg.Error)) |