Open freol35241 opened 3 years ago
Callbacks are noexcept in C++, this does not give nice error ouputs/tracebacks in python. Should use lambdas in wrapper code, see https://pybind11.readthedocs.io/en/stable/advanced/exceptions.html#handling-unraisable-exceptions
noexcept
Actually, this needs some further thinking since libcluon "swallows" all exceptions on the C++ side generated by callbacks.
Callbacks are
noexcept
in C++, this does not give nice error ouputs/tracebacks in python. Should use lambdas in wrapper code, see https://pybind11.readthedocs.io/en/stable/advanced/exceptions.html#handling-unraisable-exceptions