From 13a3ae3c7a9fe0ca05ae661e74f7f505a69e057a Mon Sep 17 00:00:00 2001
From: Kelvin <kelvin@futo.org>
Date: Thu, 20 Feb 2025 22:28:32 +0100
Subject: [PATCH] Devsubmit failed cipher

---
 YoutubeScript.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/YoutubeScript.js b/YoutubeScript.js
index 3109700..5a39ed6 100644
--- a/YoutubeScript.js
+++ b/YoutubeScript.js
@@ -6149,7 +6149,7 @@ function getCipherFunctionCode(playerCode, jsUrl) {
 		}
 	}
 	if(!cipherFunctionName)	{
-        if(bridge.devSubmit) bridge.devSubmit("getCipherFunctionCode - Failed to find cipher (name)", jsUrl);
+        if(bridge.devSubmit) bridge.devSubmit("getCipherFunctionCode - Failed to find cipher (name)", jsUrl + "\n\n" + playerCode);
 		throw new ScriptException("Failed to find cipher (name)\n" + jsUrl);
 	}
 	const cipherFunctionCodeMatch = playerCode.match("(" + escapeRegex(cipherFunctionName) + "=function\\([a-zA-Z0-9_]+\\)\\{.+?\\})");
-- 
GitLab