Clarify transport exception for 403s, fixes #1416
parent
5fd19f63dd
commit
b8da471f9a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue