Is there a way to trap errors in python.net? I have an instance of

   try:
     doSomethingInDotNetThatMayFail()
   except:
     logger.exception("Something really wrong happened")

and when the .NET library I'm using fails, it prints out an error message
but never gets to the except: clause, and Python crashes.
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
https://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to