[core] fix logging so we don't use strings as a formatter
This commit is contained in:
@@ -86,7 +86,7 @@ Image::Image(std::string const& data)
|
||||
}
|
||||
catch (ImageReaderException const& ex)
|
||||
{
|
||||
Log::Error(Event::Image, ex.what());
|
||||
Log::Error(Event::Image, "%s", ex.what());
|
||||
img.reset();
|
||||
width = 0;
|
||||
height = 0;
|
||||
|
||||
Reference in New Issue
Block a user