error cleanup

This commit is contained in:
Finn 2021-05-05 20:48:34 -07:00
parent b58dd9ed6d
commit b5802b75e1
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ var (
} }
resp, err := req.Submit(common.Signald) resp, err := req.Submit(common.Signald)
if err != nil { if err != nil {
log.Fatal("error: ", err) log.Fatal(err)
} }
switch common.OutputFormat { switch common.OutputFormat {

View file

@ -46,7 +46,7 @@ var (
} }
resp, err := req.Submit(common.Signald) resp, err := req.Submit(common.Signald)
if err != nil { if err != nil {
log.Fatal("error sending request to signald: ", err) log.Fatal(err)
} }
switch common.OutputFormat { switch common.OutputFormat {
case common.OutputFormatJSON: case common.OutputFormatJSON: