Skip to content

Commit

Permalink
debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Dec 13, 2024
1 parent 68b368d commit 3bf2c53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion providers/os/connection/device/device_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ func tryDetectAsset(connId uint32, partition *snapshot.PartitionInfo, conf *inve

fingerprint, p, err := id.IdentifyPlatform(fsConn, &plugin.ConnectReq{}, p, asset.IdDetector)
if err != nil {
log.Debug().Err(err).Msg("device connection> failed to identify platform from device")
log.Debug().Err(err).
Strs("platform-ids", asset.PlatformIds). // debug
Msg("device connection> failed to identify platform from device")
return nil, err
}
log.Debug().Str("scan_dir", partition.MountPoint).Msg("device connection> detected platform from device")
Expand Down

0 comments on commit 3bf2c53

Please sign in to comment.