Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: sky/sdk/lib/mojo/net/image_cache.dart

Issue 1223843014: Update material design icons (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: alphabetize Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/download_material_design_icons ('k') | sky/sdk/lib/widgets/menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/mojo/net/image_cache.dart
diff --git a/sky/sdk/lib/mojo/net/image_cache.dart b/sky/sdk/lib/mojo/net/image_cache.dart
index b66d5fe67fcb92013db8cc1f3c396aa409a4aca2..9c71ea8fa7910df98f67ffceb4d91ac45fb61a79 100644
--- a/sky/sdk/lib/mojo/net/image_cache.dart
+++ b/sky/sdk/lib/mojo/net/image_cache.dart
@@ -18,6 +18,7 @@ Future<sky.Image> load(String url) {
Completer<sky.Image> completer = new Completer<sky.Image>();
fetchUrl(url).then((UrlResponse response) {
if (response.statusCode >= 400) {
+ print("Failed to load image ${url}");
completer.complete(null);
} else {
new sky.ImageDecoder(response.body.handle.h, completer.complete);
« no previous file with comments | « sky/sdk/lib/download_material_design_icons ('k') | sky/sdk/lib/widgets/menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698