diff --git a/src/main/java/jcifs/smb/SmbTransportImpl.java b/src/main/java/jcifs/smb/SmbTransportImpl.java index b170312..3c9c53a 100644 --- a/src/main/java/jcifs/smb/SmbTransportImpl.java +++ b/src/main/java/jcifs/smb/SmbTransportImpl.java @@ -964,7 +964,7 @@ else if ( last == null ) { } else { if ( !this.credits.tryAcquire(cost, timeout, TimeUnit.MILLISECONDS) ) { - throw new SmbException("Failed to acquire credits in time"); + throw new SmbException(String.format("Failed to acquire credits in time, timed out after %dms", timeout)); } } totalSize += size;