error cleanup
This commit is contained in:
parent
b58dd9ed6d
commit
b5802b75e1
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue