Skip to content

Commit

Permalink
refactor error in client fingerprint to include the offending data
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed Apr 11, 2019
1 parent 84bd433 commit a7fed72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/fingerprint/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ func (f *NetworkFingerprint) Fingerprint(req *FingerprintRequest, resp *Fingerpr
intf, err := f.findInterface(cfg.NetworkInterface)
switch {
case err != nil:
return fmt.Errorf("Error while detecting network interface during fingerprinting: %v", err)
return fmt.Errorf("Error while detecting network interface %s during fingerprinting: %v",
cfg.NetworkInterface,
err)
case intf == nil:
// No interface could be found
return nil
Expand Down

0 comments on commit a7fed72

Please sign in to comment.