better error messages for Python Errors in plugins