Skip to content

Commit

Permalink
fixup! fix: log fopen calls when stream isn't available
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Apr 6, 2023
1 parent 3cde02a commit e5e5559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Streamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function addDirRecursive(string $dir, string $internalDir = ''): void {
if ($file instanceof File) {
try {
$fh = $file->fopen('r');
if($fh === false) {
if ($fh === false) {
$logger->error('Unable to open file for stream: ' . print_r($file, true));
continue;
}
Expand Down

0 comments on commit e5e5559

Please sign in to comment.