fix non-interactive install and add fallback in HandleExitCoder
This commit is contained in:
@ -46,6 +46,9 @@ func HandleExitCoder(err error) {
|
||||
cli.OsExiter(exitErr.ExitCode())
|
||||
return
|
||||
}
|
||||
|
||||
slog.Error(err.Error())
|
||||
cli.OsExiter(1)
|
||||
}
|
||||
|
||||
func FormatCliExit(msg string, err error) cli.ExitCoder {
|
||||
|
Reference in New Issue
Block a user