aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account/import-mbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/import-mbox.go')
-rw-r--r--commands/account/import-mbox.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/account/import-mbox.go b/commands/account/import-mbox.go
index c1ee5936..5d6a0a0c 100644
--- a/commands/account/import-mbox.go
+++ b/commands/account/import-mbox.go
@@ -53,6 +53,7 @@ func (ImportMbox) Execute(aerc *widgets.Aerc, args []string) error {
}
importFolder := func() {
+ defer log.PanicHandler()
statusInfo := fmt.Sprintln("Importing", filename, "to folder", folder)
aerc.PushStatus(statusInfo, 10*time.Second)
log.Debugf(statusInfo)