From 4cf3d4ef9f848f2152c8c7aa2060e9bb52ec0ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 30 Apr 2015 13:25:50 +0200 Subject: [PATCH] show failed glyph URL --- src/mbgl/text/glyph_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/text/glyph_store.cpp b/src/mbgl/text/glyph_store.cpp index fd8f99ea5..1871908b0 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.