diff --git a/src/mbgl/style/parser.cpp b/src/mbgl/style/parser.cpp index b90de3e9b97..4d008caa775 100644 --- a/src/mbgl/style/parser.cpp +++ b/src/mbgl/style/parser.cpp @@ -260,7 +260,7 @@ void Parser::parseLayer(const std::string& id, const JSValue& value, std::unique conversion::Error error; optional> converted = conversion::convert>(value, error); if (!converted) { - Log::Warning(Event::ParseStyle, error.message); + Log::Warning(Event::ParseStyle, "error parsing layer '%s': '%s'", id.c_str(), error.message.c_str()); return; } layer = std::move(*converted);