Skip to content

Commit 1c17ae3

Browse files
authored
Merge branch 'main' into bhata/testrender_refactor
2 parents ad7a4af + d69fcb1 commit 1c17ae3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/PyMaterialX/PyMaterialXCore/PyException.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace mx = MaterialX;
1212

1313
void bindPyException(py::module& mod)
1414
{
15-
static py::exception<mx::Exception> pyException(mod, "Exception");
15+
py::register_exception<mx::Exception>(mod, "Exception");
1616

1717
py::register_exception_translator(
1818
[](std::exception_ptr errPtr)

0 commit comments

Comments
 (0)