Skip to content

Commit 022fc98

Browse files
Include the probed PythonDLL value in the exception (#116)
(cherry picked from commit 40a3db7) Co-authored-by: Benedikt Reinartz <filmor@gmail.com>
1 parent 65b70f3 commit 022fc98

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/runtime/Runtime.Delegates.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ static Delegates()
302302
{
303303
throw new BadPythonDllException(
304304
"Runtime.PythonDLL was not set or does not point to a supported Python runtime DLL." +
305-
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net",
305+
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net." +
306+
$" Value of PythonDLL: {PythonDLL ?? "null"}",
306307
e);
307308
}
308309
}

0 commit comments

Comments
 (0)