Skip to content

Commit 663aaad

Browse files
committed
Non-issue : Updated SFTP access error message to be more explicit
1 parent dc65a7b commit 663aaad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Driver/Sftp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function open($resource = null, $flags = 'r')
233233

234234
if (!$stream)
235235
{
236-
throw new ResourceUndefinedException('SFTP connection is not be supported!');
236+
throw new ResourceUndefinedException("Access to SFTP resource [$resource] denied!");
237237
}
238238

239239
$resource = new SftpResource($this, $stream);

0 commit comments

Comments
 (0)