utils:catv() when printing exception
This commit is contained in:
@@ -230,8 +230,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
Logger::error() << e.what();
|
||||
std::cerr << e.what() << std::endl;
|
||||
Logger::error() << utils::catv(e.what());
|
||||
std::cerr << utils::catv(e.what()) << std::endl;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Referens i nytt ärende
Block a user