Adding GUI troubleshoot popup GODT-554 GODT-583

This commit is contained in:
Jakub
2020-08-03 12:48:44 +02:00
parent 2c910378ce
commit 01a8c9e9d7
7 changed files with 22 additions and 15 deletions

View File

@ -225,6 +225,6 @@ func (ib *imapBackend) upgradeError(err error) {
logrus.WithError(err).Error("IMAP connection couldn't be upgraded to TLS during STARTTLS")
if strings.Contains(err.Error(), "remote error: tls: bad certificate") {
logrus.Info("TODO: Show troubleshooting popup")
ib.eventListener.Emit(events.IMAPTLSBadCert, err.Error())
}
}