Skip to content

Commit

Permalink
debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Oct 21, 2024
1 parent e1437b3 commit 75fc53e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions providers/os/connection/snapshot/blockdevices.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ func (blockEntries BlockDevices) FindDevice(requested string) (BlockDevice, erro
return devices[0], nil
}

log.Debug().
Str("device", requested).
Any("checked_names", lmsCache).
Msg("no device found")

return BlockDevice{}, fmt.Errorf("no block device found with name %s", requested)
}

Expand Down

0 comments on commit 75fc53e

Please sign in to comment.