summaryrefslogtreecommitdiff
path: root/internal/cli/serve/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/serve/command.go')
-rw-r--r--internal/cli/serve/command.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/cli/serve/command.go b/internal/cli/serve/command.go
index 559868d5..7f25551b 100644
--- a/internal/cli/serve/command.go
+++ b/internal/cli/serve/command.go
@@ -98,9 +98,8 @@ func NewCommand(override *[]string, cfgFile *string, silent *bool) *cobra.Comman
case e := <-errCh:
fmt.Printf("error occurred: %v, plugin: %s\n", e.Error, e.VertexID)
- // return error, container already stopped internally
- if !containerCfg.RetryOnFail {
- return errors.E(op, e.Error)
+ if err = endureContainer.Stop(); err != nil {
+ fmt.Printf("error occurred during the stopping container: %v\n", err)
}
case <-stop: // stop the container after first signal