Skip to content

Commit d698af1

Browse files
filmorMartin-Molinero
authored andcommitted
Include the probed PythonDLL value in the exception
(cherry picked from commit 40a3db7)
1 parent ca19e49 commit d698af1

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
@@ -301,7 +301,8 @@ static Delegates()
301301
{
302302
throw new BadPythonDllException(
303303
"Runtime.PythonDLL was not set or does not point to a supported Python runtime DLL." +
304-
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net",
304+
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net." +
305+
$" Value of PythonDLL: {PythonDLL ?? "null"}",
305306
e);
306307
}
307308
}

0 commit comments

Comments
 (0)