diff --git a/newt/cli/util.go b/newt/cli/util.go index 75f60282f..ccbb0bc47 100644 --- a/newt/cli/util.go +++ b/newt/cli/util.go @@ -50,8 +50,6 @@ func NewtUsage(cmd *cobra.Command, err error) { log.Debugf("%+v", err) } else if ne, ok := err.(*util.NewtError); ok { log.Debugf("%s", ne.StackTrace) - } else { - panic(fmt.Sprintf("unexpected error type: %T", err)) } fmt.Fprintf(os.Stderr, "Error: %s\n", err.Error())