diff options
author | Robin Appelman <robin@icewind.nl> | 2023-07-20 19:32:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 19:32:03 +0200 |
commit | 31f1ff87d0537e5d839b8c01f4ca72d2feddb739 (patch) | |
tree | 0a1e7e02c04ccedbc327ee32729c8cc7baf96587 /apps/files_external | |
parent | 70a9d66aa8117f1426ad40642be7eb6a92707082 (diff) | |
parent | b0e663fa2842e61414b315d5ebc34cfe595168ec (diff) | |
download | nextcloud-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.php | 2 |
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, |