should not exit with 0 when panic happens (#507)
This commit is contained in:
3
fx.go
3
fx.go
@@ -19,7 +19,7 @@ import (
|
||||
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
|
||||
)
|
||||
|
||||
const version = "0.9.34"
|
||||
const version = "0.9.35"
|
||||
|
||||
func init() {
|
||||
go checkForUpdate()
|
||||
@@ -77,6 +77,7 @@ func main() {
|
||||
fmt.Println(aurora.Red("*****************"))
|
||||
fmt.Println(r)
|
||||
fmt.Println(aurora.Red("*****************"))
|
||||
os.Exit(1)
|
||||
}
|
||||
}()
|
||||
user, err := user.Current()
|
||||
|
||||
Reference in New Issue
Block a user