From c0565d81e68c7dcc44e9a9a324bb61009dd172f3 Mon Sep 17 00:00:00 2001 From: Lord-McSweeney Date: Tue, 16 Jul 2024 10:42:40 +0300 Subject: [PATCH] core: Log an error when a URLLoader load fails --- core/src/loader.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/loader.rs b/core/src/loader.rs index 700445243..b44886136 100644 --- a/core/src/loader.rs +++ b/core/src/loader.rs @@ -1656,6 +1656,12 @@ impl<'gc> Loader<'gc> { Avm2::dispatch_event(uc, complete_evt, target); } Err(response) => { + tracing::error!( + "Error during URLLoader load of {:?}: {:?}", + response.url, + response.error + ); + // Testing with Flash shoes that the 'data' property is cleared // when an error occurs