eggjs / eggjs/egg

请教一个关于onerror异常处理的问题

Open
#4,894 6 comments 0 reactions 0 assignees View on GitHub
Inactive
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

我安装egg官方文档中的异常处理,配置好了onerror,文档上说:Controller、Service中的异常全部能通过onerror捕获到,但是使用时发现:Controller中的异常能捕获到,没有问题。但是Service中的异常捕获不到。请教下这个是什么问题?如何解决这个问题?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.