Fixed missing error message prefix.

This commit is contained in:
Patrick Lühne 2016-06-14 15:00:56 +02:00
parent fd77b65226
commit a6c9434590

View File

@ -67,7 +67,7 @@ void Logger::exception(const std::string &errorType, const std::string &message)
if (isatty(STDERR_FILENO))
{
std::cerr
<< Format(Color::Red, FontWeight::Bold) << "error:"
<< Format(Color::Red, FontWeight::Bold) << errorType << ":"
<< ResetFormat() << " "
<< Format(Color::White, FontWeight::Bold) << message
<< ResetFormat() << std::endl;