summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/lldb.swig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/scripts/lldb.swig b/lldb/scripts/lldb.swig
index 4da001476b2..6991ba13399 100644
--- a/lldb/scripts/lldb.swig
+++ b/lldb/scripts/lldb.swig
@@ -463,22 +463,26 @@ LLDBSwigPythonCallTypeScript
}
else if (PyErr_Occurred ())
{
+ PyErr_Print();
PyErr_Clear();
}
Py_INCREF (session_dict);
}
else if (PyErr_Occurred())
{
+ PyErr_Print();
PyErr_Clear();
}
}
else if (PyErr_Occurred())
{
+ PyErr_Print();
PyErr_Clear();
}
}
else if (PyErr_Occurred ())
{
+ PyErr_Print();
PyErr_Clear ();
}
return retval;
OpenPOWER on IntegriCloud