Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Exception details are not logged #355

Closed
@moozzyk

Description

@moozzyk

Stack trace is not written when an exception happens so it can be very hard to tell where it originated from:

dbug: Microsoft.AspNetCore.Mvc.Razor.Internal.RoslynCompilationService[1]
      Compilation of the generated code for the Razor file at '/Views/Home/Index.cshtml' started.
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      An unhandled exception was thrown by the application.
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      An unhandled exception was thrown by the application.
      System.InvalidOperationException
      Can not resolve assembly lib\dotnet5.4\Microsoft.AspNetCore.Antiforgery.dll location
      System.InvalidOperationException
      Can not resolve assembly lib\dotnet5.4\Microsoft.AspNetCore.Antiforgery.dll location
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 1727.9688ms 200

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions