Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开发者异常页面的细节遗漏 #1

Open
SmRiley opened this issue Apr 22, 2020 · 0 comments
Open

开发者异常页面的细节遗漏 #1

SmRiley opened this issue Apr 22, 2020 · 0 comments

Comments

@SmRiley
Copy link

SmRiley commented Apr 22, 2020

开发者异常页面

if (env.IsDevelopment()) { var developerExceptionPageOptions = new DeveloperExceptionPageOptions(); // 显示代码行数 developerExceptionPageOptions.SourceCodeLineCount = 10; app.UseDeveloperExceptionPage(); }
这里你生成了配置类却都没有作为参数传进去.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant