be more verbose about source of tile errors
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user