mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
minor logging change
This commit is contained in:
@@ -46,7 +46,7 @@ public class AuthPassword
|
|||||||
@Override
|
@Override
|
||||||
public SSHPacket buildReq()
|
public SSHPacket buildReq()
|
||||||
throws UserAuthException {
|
throws UserAuthException {
|
||||||
log.info("Requesting password for " + resource);
|
log.info("Requesting password for {}", resource);
|
||||||
char[] password = pwdf.reqPassword(resource);
|
char[] password = pwdf.reqPassword(resource);
|
||||||
if (password == null)
|
if (password == null)
|
||||||
throw new UserAuthException("Was given null password for " + resource);
|
throw new UserAuthException("Was given null password for " + resource);
|
||||||
|
|||||||
Reference in New Issue
Block a user