Skip to content

Commit 05e6441

Browse files
committed
fix: better object store write error propagation
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent d1af0f3 commit 05e6441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/ObjectStore/ObjectStoreStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public function writeStream(string $path, $stream, ?int $size = null): int {
550550
]
551551
);
552552
}
553-
throw $ex; // make this bubble up
553+
throw new GenericFileException('Error while writing stream to object store', 0, $ex);
554554
}
555555

556556
if ($exists) {

0 commit comments

Comments
 (0)