We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be44e83 commit 9ac30d1Copy full SHA for 9ac30d1
src/Save/ChunkSave.php
@@ -186,12 +186,13 @@ protected function appendDataToChunkFile()
186
187
// open the target file
188
if (!$out = @fopen($this->getChunkFullFilePath(), 'ab')) {
189
+ throw new ChunkSaveException('Failed to open output stream. Check if chunks folder is created (permissions?)', 102);
190
}
191
192
// open the new uploaded chunk
193
if (!$in = @fopen($this->file->getPathname(), 'rb')) {
194
@fclose($out);
- throw new ChunkSaveException('Failed to open input stream', 101);
195
+ throw new ChunkSaveException('Failed to open input stream.', 101);
196
197
198
// read and write in buffs
0 commit comments