aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-07-20 19:32:03 +0200
committerGitHub <noreply@github.com>2023-07-20 19:32:03 +0200
commit31f1ff87d0537e5d839b8c01f4ca72d2feddb739 (patch)
tree0a1e7e02c04ccedbc327ee32729c8cc7baf96587 /apps/files_external
parent70a9d66aa8117f1426ad40642be7eb6a92707082 (diff)
parentb0e663fa2842e61414b315d5ebc34cfe595168ec (diff)
downloadnextcloud-server-31f1ff87d0537e5d839b8c01f4ca72d2feddb739.tar.gz
nextcloud-server-31f1ff87d0537e5d839b8c01f4ca72d2feddb739.zip
Merge pull request #39367 from nextcloud/s3-fopen-exception
handle more exceptions in AmazonS3::fopen
Diffstat (limited to 'apps/files_external')
-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,