summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-09-19 15:52:14 +0200
committerRobin Appelman <robin@icewind.nl>2023-09-19 15:52:14 +0200
commit0a5ebef4250932e0607366686be4f524519ed656 (patch)
tree60bca94122541bb8e99bf9b237724aadaad160b0 /apps/files_external
parent656fd512b5370e62213ec2e0b6a397c5ed47d7b7 (diff)
downloadnextcloud-server-0a5ebef4250932e0607366686be4f524519ed656.tar.gz
nextcloud-server-0a5ebef4250932e0607366686be4f524519ed656.zip
improve s3 error handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
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,