Log error as Error

This commit is contained in:
John Firebaugh
2015-04-22 12:46:40 -07:00
parent 05dc61f62c
commit c2abd1d692

View File

@@ -156,7 +156,7 @@ void Source::load(const std::string& accessToken,
d.Parse<0>(res.data.c_str());
if (d.HasParseError()) {
Log::Warning(Event::General, "Invalid source TileJSON; Parse Error at %d: %s", d.GetErrorOffset(), d.GetParseError());
Log::Error(Event::General, "Invalid source TileJSON; Parse Error at %d: %s", d.GetErrorOffset(), d.GetParseError());
return;
}