Updated logger calls

This commit is contained in:
netbenix 2021-10-30 21:36:02 +02:00
parent 8e885dd555
commit 1bd48b980f
4 changed files with 13 additions and 11 deletions

View file

@ -3,7 +3,7 @@ package Commands
import (
"fmt"
"github.com/urfave/cli/v2"
"log"
"lpm-cli/Tools"
)
func PushCommand() *cli.Command {
@ -19,7 +19,7 @@ func PushCommand() *cli.Command {
OnUsageError: func(c *cli.Context, err error, isSubcommand bool) error {
if err != nil{
fmt.Printf("[ERROR] %s", err.Error())
log.Fatal(err)
Tools.ErrorLogger.Fatal(err)
}
return err
},