From df6cb301122b8def51d8aee09b5210efec0941ae Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Tue, 15 Feb 2022 13:02:44 -0500 Subject: [PATCH] One last try for PGI --- include/pybind11/pytypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h index 73a47ec88..f8f0fe33c 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -409,6 +409,7 @@ public: return m_lazy_what.c_str(); } catch (...) { m_lazy_what = "Unknown internal error occurred"; + return m_lazy_what.c_str(); } } return m_lazy_what.c_str();