mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 08:44:14 +01:00
gentler cli error messages (#203)
This commit is contained in:
parent
719e66537f
commit
2ec314c1ee
@ -1,5 +1,7 @@
|
||||
# v0.3.0-rc6
|
||||
|
||||
CHANGE: Gentler CLI error messages by default (https://github.com/openziti/zrok/issues/203)
|
||||
|
||||
CHANGE: Add favicon to web console (https://github.com/openziti/zrok/issues/198)
|
||||
|
||||
CHANGE: Add configurable "terms of use" link in the controller configuration, and optionally display the link on the login form and registration forms (https://github.com/openziti/zrok/issues/184)
|
||||
|
@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"github.com/michaelquigley/pfxlog"
|
||||
"github.com/openziti/zrok/tui"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
"os"
|
||||
@ -83,6 +84,9 @@ var testCmd = &cobra.Command{
|
||||
|
||||
func main() {
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
panic(err)
|
||||
if panicInstead {
|
||||
panic(err)
|
||||
}
|
||||
tui.Error("an error occurred", err)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user