script: Log failed script fetch URL. (#44319)

Testing: Can't test for debug logs.
Should assist with diagnosing #26272.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews
2026-04-17 13:35:05 -04:00
committed by GitHub
parent 2d445b649d
commit 62f9971a87

View File

@@ -460,7 +460,7 @@ impl FetchResponseListener for ClassicContext {
) {
match (response.as_ref(), self.status.as_ref()) {
(Err(error), _) | (_, Err(error)) => {
error!("Fetching classic script failed {:?}", error);
error!("Fetching classic script failed {:?} ({})", error, self.url);
// Step 6, response is an error.
finish_fetching_a_script(&self.elem.root(), self.kind, Err(()), cx);