From b5802b75e1a82f7a06ffbab8a364a30f940a8d88 Mon Sep 17 00:00:00 2001 From: Finn Date: Wed, 5 May 2021 20:48:34 -0700 Subject: [PATCH] error cleanup --- cmd/signaldctl/cmd/account/register/register-account.go | 2 +- cmd/signaldctl/cmd/account/verify/verify-account.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/signaldctl/cmd/account/register/register-account.go b/cmd/signaldctl/cmd/account/register/register-account.go index 95ca2a9..dcd5c35 100644 --- a/cmd/signaldctl/cmd/account/register/register-account.go +++ b/cmd/signaldctl/cmd/account/register/register-account.go @@ -50,7 +50,7 @@ var ( } resp, err := req.Submit(common.Signald) if err != nil { - log.Fatal("error: ", err) + log.Fatal(err) } switch common.OutputFormat { diff --git a/cmd/signaldctl/cmd/account/verify/verify-account.go b/cmd/signaldctl/cmd/account/verify/verify-account.go index 6ad7038..8ae606f 100644 --- a/cmd/signaldctl/cmd/account/verify/verify-account.go +++ b/cmd/signaldctl/cmd/account/verify/verify-account.go @@ -46,7 +46,7 @@ var ( } resp, err := req.Submit(common.Signald) if err != nil { - log.Fatal("error sending request to signald: ", err) + log.Fatal(err) } switch common.OutputFormat { case common.OutputFormatJSON: