getsentry / getsentry/sentry-javascript

Document reportError as an option for reporting in browsers

Đang mở
#13,547 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Browser Tests
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

### Problem Statement

I think the global `reportError` function could be an idiomatic way to report errors to Sentry from JavaScript, if it is not too general for your use case. I don't find much talk about this function on the webs, but it has been available across major browsers for some time.

### Solution Brainstorm

The Capturing Errors and Events page of the docs could have a small section that mentions `reportError` as an alternative.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.