diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-04-30 13:25:50 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-05-05 11:47:22 +0200 |
commit | 4cf3d4ef9f848f2152c8c7aa2060e9bb52ec0ef2 (patch) | |
tree | 69b61744b13a9563dcf115bfa54f9b3e732df1e6 /src/mbgl/text/glyph_store.cpp | |
parent | 286338c978ba0fb4e79dc2e2e8214ed39152f2f3 (diff) | |
download | qtlocation-mapboxgl-4cf3d4ef9f848f2152c8c7aa2060e9bb52ec0ef2.tar.gz |
show failed glyph URL
Diffstat (limited to 'src/mbgl/text/glyph_store.cpp')
-rw-r--r-- | src/mbgl/text/glyph_store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/glyph_store.cpp b/src/mbgl/text/glyph_store.cpp index fd8f99ea5b..1871908b02 100644 --- a/src/mbgl/text/glyph_store.cpp +++ b/src/mbgl/text/glyph_store.cpp @@ -154,7 +154,7 @@ GlyphPBF::GlyphPBF(const std::string &glyphURL, env.requestAsync({ Resource::Kind::Glyphs, url }, [&, url](const Response &res) { if (res.status != Response::Successful) { // Something went wrong with loading the glyph pbf. Pass on the error to the future listeners. - const std::string msg = std::string { "[ERROR] failed to load glyphs: " } + res.message; + const std::string msg = std::string { "[ERROR] failed to load glyphs: " } + url + " message: " + res.message; promise.set_exception(std::make_exception_ptr(std::runtime_error(msg))); } else { // Transfer the data to the GlyphSet and signal its availability. |