Skip to content
Prev Previous commit
Next Next commit
Include the probed PythonDLL value in the exception
  • Loading branch information
filmor committed Dec 8, 2025
commit bd33b3fe934971650263026a90bee5656ba1b017
3 changes: 2 additions & 1 deletion src/runtime/Runtime.Delegates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ static Delegates()
{
throw new BadPythonDllException(
"Runtime.PythonDLL was not set or does not point to a supported Python runtime DLL." +
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net",
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net." +
$" Value of PythonDLL: {PythonDLL ?? "null"}",
e);
}
}
Expand Down