mirror of
https://github.com/openziti/zrok.git
synced 2025-06-20 09:48:07 +02:00
gentler cli error messages (#203)
This commit is contained in:
parent
719e66537f
commit
2ec314c1ee
@ -1,5 +1,7 @@
|
|||||||
# v0.3.0-rc6
|
# 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 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)
|
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 (
|
import (
|
||||||
"github.com/michaelquigley/pfxlog"
|
"github.com/michaelquigley/pfxlog"
|
||||||
|
"github.com/openziti/zrok/tui"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"os"
|
"os"
|
||||||
@ -83,6 +84,9 @@ var testCmd = &cobra.Command{
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if err := rootCmd.Execute(); err != nil {
|
if err := rootCmd.Execute(); err != nil {
|
||||||
panic(err)
|
if panicInstead {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
tui.Error("an error occurred", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user