Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

harryterkelsen
Copy link
Contributor

Description

This adds more logging for when assets fail to load in an unexpected way.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the contributor guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the C++, Objective-C, Java style guides for the engine.
  • I read the tree hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation.
  • All existing and new tests are passing.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.
  • Yes, this is a breaking change.

@harryterkelsen harryterkelsen requested a review from yjbanov June 23, 2020 17:24
@fluttergithubbot
Copy link
Contributor

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@auto-assign auto-assign bot requested a review from gaaclarke June 23, 2020 17:24
@@ -68,6 +68,7 @@ class AssetManager {
throw AssetManagerException(url, target.status);
}

html.window.console.warn('Caught ProgressEvent with target: $target');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also log asset and the resolved url. That would help us narrow down the place in the gallery code that triggers this.

@yjbanov
Copy link
Contributor

yjbanov commented Jun 25, 2020

@hterkelsen Is this good to go? This will speed up gallery benchmark work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants