aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-07-13 15:37:42 +0200
committerRobin Appelman <robin@icewind.nl>2023-07-13 15:37:42 +0200
commit7c9edbff32447eba76c3ed1c6a2e6210e1f7212a (patch)
tree83514eec8c509063a4661939a5092a8b3b8525b2 /apps/files_external/lib
parentc5a6c7e0dd9666cc8c550b616d13118616f67779 (diff)
downloadnextcloud-server-7c9edbff32447eba76c3ed1c6a2e6210e1f7212a.tar.gz
nextcloud-server-7c9edbff32447eba76c3ed1c6a2e6210e1f7212a.zip
handle more exceptions in AmazonS3::fopen
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/AmazonS3.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php
index 5b92c9a4105..3d982bdab02 100644
--- a/apps/files_external/lib/Lib/Storage/AmazonS3.php
+++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php
@@ -497,7 +497,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
try {
return $this->readObject($path);
- } catch (S3Exception $e) {
+ } catch (\Exception $e) {
$this->logger->error($e->getMessage(), [
'app' => 'files_external',
'exception' => $e,