egg-sentry icon indicating copy to clipboard operation
egg-sentry copied to clipboard

How to captureMessage/captureException

Open shiny opened this issue 6 years ago • 0 comments

Sentry 自己的 js SDK 有如下接口

Sentry.captureException(err);
Sentry.captureMessage('Something went wrong');

请问 egg-sentry 是否有暴露此两个接口?因为文档中未找到,是否只实现了 onerror 时的上报,而无手动 capture 的接口?

shiny avatar Jul 08 '19 10:07 shiny