From f5769ec4aea8a7927e87b6c221030214315a92a9 Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Tue, 10 Dec 2024 02:56:40 +0400 Subject: [PATCH] chore(YouTube - Spoof video streams): Improve error logging --- .../extension/shared/spoof/SpoofVideoStreamsPatch.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/shared/library/src/main/java/app/revanced/extension/shared/spoof/SpoofVideoStreamsPatch.java b/extensions/shared/library/src/main/java/app/revanced/extension/shared/spoof/SpoofVideoStreamsPatch.java index 119b5306e5..604679e61a 100644 --- a/extensions/shared/library/src/main/java/app/revanced/extension/shared/spoof/SpoofVideoStreamsPatch.java +++ b/extensions/shared/library/src/main/java/app/revanced/extension/shared/spoof/SpoofVideoStreamsPatch.java @@ -93,7 +93,8 @@ public static void fetchStreams(String url, Map requestHeaders) StreamingDataRequest.fetchRequest(videoId, requestHeaders); } } catch (Exception ex) { - Logger.printException(() -> "buildRequest failure", ex); + Logger.printException(() -> "buildRequest failure. Url: " + url + + " headers: " + requestHeaders, ex); } } }