apps/files_external/lib/Lib/Storage/Swift.php 1 location
|
@@ 408-417 (lines=10) @@
|
| 405 |
|
case 'a+': |
| 406 |
|
return false; |
| 407 |
|
case 'r': |
| 408 |
|
case 'rb': |
| 409 |
|
try { |
| 410 |
|
return $this->objectStore->readObject($path); |
| 411 |
|
} catch (BadResponseError $e) { |
| 412 |
|
\OC::$server->getLogger()->logException($e, [ |
| 413 |
|
'level' => ILogger::ERROR, |
| 414 |
|
'app' => 'files_external', |
| 415 |
|
]); |
| 416 |
|
return false; |
| 417 |
|
} |
| 418 |
|
case 'w': |
| 419 |
|
case 'wb': |
| 420 |
|
case 'r+': |
apps/files_external/lib/Lib/Storage/AmazonS3.php 1 location
|
@@ 456-462 (lines=7) @@
|
| 453 |
|
|
| 454 |
|
switch ($mode) { |
| 455 |
|
case 'r': |
| 456 |
|
case 'rb': |
| 457 |
|
try { |
| 458 |
|
return $this->readObject($path); |
| 459 |
|
} catch (S3Exception $e) { |
| 460 |
|
\OC::$server->getLogger()->logException($e, ['app' => 'files_external']); |
| 461 |
|
return false; |
| 462 |
|
} |
| 463 |
|
case 'w': |
| 464 |
|
case 'wb': |
| 465 |
|
$tmpFile = \OC::$server->getTempManager()->getTemporaryFile(); |