mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-05 17:45:49 +01:00
chore(YouTube): Only debug log if protobufBuffer
has no array
This commit is contained in:
parent
781cdf88df
commit
58afcec641
@ -489,8 +489,13 @@ public final class LithoFilterPatch {
|
||||
return false;
|
||||
|
||||
ByteBuffer protobufBuffer = bufferThreadLocal.get();
|
||||
if (protobufBuffer == null || !protobufBuffer.hasArray()) {
|
||||
LogHelper.printException(() -> "Proto buffer is null or has no array"); // Should never happen.
|
||||
if (protobufBuffer == null) {
|
||||
LogHelper.printException(() -> "Proto buffer is null"); // Should never happen.
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!protobufBuffer.hasArray()) {
|
||||
LogHelper.printDebug(() -> "Proto buffer does not have an array");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user