change debug output

This commit is contained in:
Talyx
2022-02-22 19:50:44 +03:00
parent ed8d8e095c
commit 5a2cbaefe3

View File

@@ -21,7 +21,8 @@ int main(int argc, char **argv)
} }
catch(const ConfigException& e) catch(const ConfigException& e)
{ {
std::cerr << RED << "\n" << e.getMessage() << '\n' << ENDL; std::cerr << RED << "\n" << WARNING << getDebugTime()
<< FAIL << " " << e.getMessage() << ENDL;
} }
catch (std::domain_error &e) catch (std::domain_error &e)
{ {