Skip to content

Commit faec7fc

Browse files
committed
Point users to Message property of PythonException
1 parent 63ad42c commit faec7fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/pythonexception.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ public class PythonException : System.Exception
1515

1616
private PythonException(PyType type, PyObject value, PyObject traceback,
1717
Exception innerException)
18-
: base("An exception has occurred in Python code", innerException)
18+
: base("An exception has occurred in Python code. See Message property for details.", innerException)
1919
{
2020
Type = type;
2121
Value = value;
2222
Traceback = traceback;
2323
}
2424

2525
private PythonException(PyType type, PyObject value, PyObject traceback)
26-
: base("An exception has occurred in Python code")
26+
: base("An exception has occurred in Python code. See Message property for details.")
2727
{
2828
Type = type;
2929
Value = value;

0 commit comments

Comments
 (0)