Skip to content

Commit

Permalink
improve s3 error handling
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 authored and blizzz committed Oct 10, 2023
1 parent 819639b commit 22237b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files_external/lib/Lib/Storage/AmazonS3.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ public function fopen($path, $mode) {

try {
return $this->readObject($path);
} catch (S3Exception $e) {
} catch (\Exception $e) {
$this->logger->error($e->getMessage(), [
'app' => 'files_external',
'exception' => $e,
Expand Down

0 comments on commit 22237b0

Please sign in to comment.