diff --git a/pkg/gui/controllers/custom_command_action.go b/pkg/gui/controllers/custom_command_action.go index bd24cda7d..3cc7776bd 100644 --- a/pkg/gui/controllers/custom_command_action.go +++ b/pkg/gui/controllers/custom_command_action.go @@ -25,10 +25,7 @@ func (self *CustomCommandAction) Call() error { ) } - err := self.c.SaveAppState() - if err != nil { - self.c.Log.Error(err) - } + self.c.SaveAppStateAndLogError() self.c.LogAction(self.c.Tr.Actions.CustomCommand) return self.c.RunSubprocessAndRefresh(