diff options
Diffstat (limited to 'commands/reload.go')
-rw-r--r-- | commands/reload.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/reload.go b/commands/reload.go index 2888ef90..ecda1387 100644 --- a/commands/reload.go +++ b/commands/reload.go @@ -126,10 +126,14 @@ func (r Reload) Execute(args []string) error { if !ok { return } - reloaded := app.NewMessageViewer( + reloaded, err := app.NewMessageViewer( mv.SelectedAccount(), mv.MessageView(), ) + if err != nil { + app.PushError(err.Error()) + return + } app.ReplaceTab(mv, reloaded, tab.Name, false) }) |