Skip to content

Commit

Permalink
Adding error fatalf to TcpLinux for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
deven96 committed Nov 5, 2022
1 parent d734b69 commit cbb49ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inspector/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (i *TcpLinux) Parse(output string) {
portString := address[len(address)-1]
port, err := strconv.Atoi(portString)
if err != nil {
log.Fatal("Could not parse port number in TcpLinux")
log.Fatalf("Could not parse port number in TcpLinux %s", err.Error())
}
ports[port] = status
}
Expand Down

0 comments on commit cbb49ae

Please sign in to comment.