Skip to content

Commit

Permalink
fix: make error message more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
scabala authored and dmacvicar committed Oct 2, 2024
1 parent 1073a2c commit 72a3214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/uri/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (u *ConnectionURI) parseAuthMethods(target string, sshcfg *ssh_config.Confi

signer, err := ssh.ParsePrivateKey(sshKey)
if err != nil {
log.Printf("[ERROR] Failed to parse ssh key: %v", err)
log.Printf("[ERROR] Failed to parse ssh key %s: %v", keypath, err)
continue
}
result = append(result, ssh.PublicKeys(signer))
Expand Down

0 comments on commit 72a3214

Please sign in to comment.