Skip to content

Commit

Permalink
Add Output on Error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bourne-ID-Work committed Jun 12, 2023
1 parent 4c0634c commit 1df41fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ func main() {
}
if err != nil {
fmt.Fprintf(os.Stderr, "error: %v", err)
fmt.Fprint(os.Stderr, "Warning: The following table may be incomplete due to errors detected during the run")
w.Flush()
os.Exit(1)
}
if *exitErr && sockFound {
Expand Down

0 comments on commit 1df41fa

Please sign in to comment.