mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Ensure python compile error exceptions get handled properly
This commit is contained in:
@@ -1603,6 +1603,11 @@ void PythonContext::executeString(const QString &filename, const QString &source
|
||||
Py_XDECREF(settrace);
|
||||
Py_XDECREF(gettrace);
|
||||
}
|
||||
else
|
||||
{
|
||||
caughtException = true;
|
||||
FetchException(typeStr, valueStr, finalLine, frames);
|
||||
}
|
||||
|
||||
Py_XDECREF(compiled);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user