【发布时间】:2017-09-18 13:45:01
【问题描述】:
我有带有异步 POST 方法的 NancyFX 模块。
根据文档,所有错误的处理方式如下:
https://github.com/NancyFx/Nancy/wiki/The-Application-Before%2C-After-and-OnError-pipelines
如果我编写的代码不是异步方法,确实会处理错误。
但是当异步方法中发生异常时,我永远不会进入回调。
【问题讨论】:
标签: c# asp.net asynchronous nancy