From 851532a1251b7a44bdf9bb0ab76014fdf67f16ea Mon Sep 17 00:00:00 2001 From: Adrian Vollmer Date: Sun, 9 Oct 2022 10:51:53 +0200 Subject: [PATCH] Include more information in case of JS error --- zundler/assets/inject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zundler/assets/inject.js b/zundler/assets/inject.js index 733595e..2d3c48e 100644 --- a/zundler/assets/inject.js +++ b/zundler/assets/inject.js @@ -30,7 +30,7 @@ var embed_js = function() { } } catch (e) { // Make sure all scripts are loaded - console.error(e); + console.error("Caught error in " + oldScript.getAttribute("src"), e); } }); };