We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf6b080 commit 03aae67Copy full SHA for 03aae67
components/supervisor/cmd/init.go
@@ -60,6 +60,9 @@ var initCmd = &cobra.Command{
60
61
err := runCommand.Wait()
62
if err != nil && !(strings.Contains(err.Error(), "signal: interrupt") || strings.Contains(err.Error(), "no child processes")) {
63
+ if eerr, ok := err.(*exec.ExitError); ok && eerr.ExitCode() != 0 {
64
+ log.WithError(err).Fatal("supervisor run error with unexpected exit code")
65
+ }
66
log.WithError(err).Error("supervisor run error")
67
return
68
}
0 commit comments