From d1f6e87c4d94ce11afed2fc0810318534e2c97b3 Mon Sep 17 00:00:00 2001 From: Milos Zivkovic Date: Sat, 16 Sep 2023 17:16:10 +0200 Subject: [PATCH] Fix linter --- cmd/root/root.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/root/root.go b/cmd/root/root.go index 10851b8..bd7fc0c 100644 --- a/cmd/root/root.go +++ b/cmd/root/root.go @@ -171,7 +171,10 @@ func (c *faucetCfg) exec(context.Context, []string) error { } // Create a new logger - logger, _ := zap.NewDevelopment() + logger, err := zap.NewDevelopment() + if err != nil { + return err + } // Create a new faucet with // static gas estimation