mirror of
https://github.com/servo/servo
synced 2026-04-26 17:45:19 +02:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user