You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove log.Fatal and replace with error propagation (danielpaulus#33)
* remove log.Fatal and replace with error propagation
* remove log.fatal from devicelist, getvalues and productversion
* replace log.Fatal with t.Fail
* replace log.Fatal with t.Fail
* remove log.Fatal from redadpair and replace with proper errors
* remove log.Fatal from readpair, syslog, utils, pcap and dproxy
* remove remaining log.Fatal
* remove fatal from main.go
* fix incorrect error logging
* use t.Fatal
p.log.Fatalf("ServiceInfo for port: %d not found, this is a bug :-)reqheader: %+v repayload: %x", port, connectRequest.Header, connectRequest.Payload)
104
+
panic(fmt.Sprintf("ServiceInfo for port: %d not found, this is a bug :-)reqheader: %+v repayload: %x", port, connectRequest.Header, connectRequest.Payload))
104
105
}
105
106
p.log.Infof("Connection to service '%s' detected on port %d", info.ServiceName, info.ServicePort)
0 commit comments