diff options
author | Robin Appelman <robin@icewind.nl> | 2023-09-19 15:52:14 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-09-19 15:52:14 +0200 |
commit | 0a5ebef4250932e0607366686be4f524519ed656 (patch) | |
tree | 60bca94122541bb8e99bf9b237724aadaad160b0 /apps/files_external | |
parent | 656fd512b5370e62213ec2e0b6a397c5ed47d7b7 (diff) | |
download | nextcloud-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.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, |