Remove Exception::GetMsg()

We can undef any macro windows.h defines and interferes with our code base. In this case GetMessage
This commit is contained in:
Ted John committed 2016-09-08 21:37:27 +01:00
1 parent e4b53630ed
commit 91eb33255b
8 files changed
+9 -6

No files matched your search

+2 -2
View File
@@ -291,7 +291,7 @@ bool Network::BeginServer(unsigned short port, const char* address)
}
catch (Exception ex)
{
Console::Error::WriteLine(ex.GetMsg());
Console::Error::WriteLine(ex.GetMessage());
Close();
return false;
}
@@ -754,7 +754,7 @@ void Network::LoadGroups()
try {
json = Json::ReadFromFile(path);
} catch (const Exception& e) {
log_error("Failed to read %s as JSON. Setting default groups. %s", path, e.GetMsg());
log_error("Failed to read %s as JSON. Setting default groups. %s", path, e.GetMessage());
// Hardcoded permission groups
SetupDefaultGroups();
return;