Remove juju/errors

This commit is contained in:
9seconds
2019-09-06 16:10:55 +03:00
parent 701f62ed4c
commit 2918ed11e5
19 changed files with 73 additions and 91 deletions
+3 -3
View File
@@ -143,7 +143,7 @@ func main() {
app.HelpFlag.Short('h')
if err := utils.SetLimits(); err != nil {
cli.Fatal(err.Error())
cli.Fatal(err)
}
switch kingpin.MustParse(app.Parse(os.Args[1:])) {
@@ -177,11 +177,11 @@ func main() {
config.Opt{Option: config.OptionTypeAdtag, Value: *proxyAdtag},
)
if err != nil {
cli.Fatal(err.Error())
cli.Fatal(err)
}
if err := cli.Proxy(); err != nil {
cli.Fatal(err.Error())
cli.Fatal(err)
}
}
}