Skip to content

Commit bc79ff1

Browse files
improve s3 error handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent e4205c9 commit bc79ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_external/lib/Lib/Storage/AmazonS3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ public function fopen($path, $mode) {
497497

498498
try {
499499
return $this->readObject($path);
500-
} catch (S3Exception $e) {
500+
} catch (\Exception $e) {
501501
$this->logger->error($e->getMessage(), [
502502
'app' => 'files_external',
503503
'exception' => $e,

0 commit comments

Comments
 (0)