Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Dec 6, 2023
1 parent b4d9fa6 commit 49555b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,7 @@ public static function canConvertOgg(): bool
Ogg::convert(new LocalFile(__DIR__.'/empty.wav'), new WritableBuffer);
self::$canConvert = true;
} catch (\Throwable $e) {
Logger::log("An error occurred while attempting conversion: $e");
self::$canConvert = false;
}
return self::$canConvert;
Expand Down

0 comments on commit 49555b8

Please sign in to comment.