forked from Silverfish/proton-bridge
Fix showing error msg
This commit is contained in:
@ -474,6 +474,7 @@ func (f *FrontendQt) createLabelOrFolder(email, name, color string, isLabel bool
|
||||
m, err := f.transfer.CreateTargetMailbox(m)
|
||||
if err != nil {
|
||||
log.Errorln("Folder/Label creating:", err)
|
||||
err = errors.New(name + "\n" + err.Error()) // GUI splits by \n.
|
||||
if isLabel {
|
||||
f.showError(errCreateLabelFailed, err)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user