Addressing PR feedback

This commit is contained in:
Benjamin Jillich
2021-06-02 19:08:10 +02:00
parent e6a8bf4689
commit e7e85f91d6
3 changed files with 5 additions and 5 deletions
@@ -321,13 +321,14 @@ namespace O3DE::ProjectManager
try
{
executionCallback();
return AZ::Success();
}
catch ([[maybe_unused]] const std::exception& e)
{
AZ_Warning("PythonBindings", false, "Python exception %s", e.what());
return AZ::Failure<AZStd::string>(e.what());
}
return AZ::Success();
}
bool PythonBindings::ExecuteWithLock(AZStd::function<void()> executionCallback)