logic: Access right hotfix
Catch exception when coati tries to write to a database without sufficient rights. Display error message asking for restart with admin rights bug id = 43
This commit is contained in:
Binary file not shown.
@@ -136,7 +136,15 @@ void Application::handleMessage(MessageLoadProject* message)
|
||||
return;
|
||||
}
|
||||
|
||||
loadProject(message->projectSettingsFilePath);
|
||||
try
|
||||
{
|
||||
loadProject(message->projectSettingsFilePath);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
LOG_ERROR_STREAM(<< "Failed to load project. Try restarting Coati as admin");
|
||||
MessageStatus("Failed to load project. Try restarting Coati as admin", true).dispatch();
|
||||
}
|
||||
}
|
||||
|
||||
void Application::handleMessage(MessageRefresh* message)
|
||||
|
||||
Reference in New Issue
Block a user