🌐 AI搜索 & 代理 主页
Skip to content

Commit bd33b3f

Browse files
committed
Include the probed PythonDLL value in the exception
1 parent 5272e34 commit bd33b3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/runtime/Runtime.Delegates.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ static Delegates()
308308
{
309309
throw new BadPythonDllException(
310310
"Runtime.PythonDLL was not set or does not point to a supported Python runtime DLL." +
311-
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net",
311+
" See https://github.com/pythonnet/pythonnet#embedding-python-in-net." +
312+
$" Value of PythonDLL: {PythonDLL ?? "null"}",
312313
e);
313314
}
314315
}

0 commit comments

Comments
 (0)