Skip to content

How to captureMessage/captureException #3

Description

@shiny

Sentry 自己的 js SDK 有如下接口

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions