be more verbose about source of tile errors

This commit is contained in:
Konstantin Käfer
2014-04-10 14:29:41 -04:00
parent ca5de70b2b
commit 8faae8c137
2 changed files with 3 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ void TileData::request() {
tile->data.swap(res.body);
tile->parse();
} else {
fprintf(stderr, "tile loading failed\n");
fprintf(stderr, "tile loading failed: code %d\n", res.code);
}
}, []() {
platform::restart();