1
0
Fork 0

Clarify transport exception for 403s, fixes #1416

pull/1410/merge
Jordi Boggiano 2012-12-13 15:40:47 +01:00
parent 5fd19f63dd
commit b8da471f9a
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,8 @@ class RemoteFilesystem
case STREAM_NOTIFY_AUTH_RESULT: case STREAM_NOTIFY_AUTH_RESULT:
if (403 === $messageCode) { if (403 === $messageCode) {
$message = "The '" . $this->fileUrl . "' URL could not be accessed: " . $message;
throw new TransportException($message, 403); throw new TransportException($message, 403);
} }
break; break;