Sentry
Getting Started - Docs
code:ts
Sentry.init({
dsn:
});
Sentry.captureMessage("Something went wrong");
code:js
Sentry.configureScope(function(scope) {
scope.setExtra("character_name", "Mighty Fighter");
});
Be aware of maximum payload size - There are times, when you may want to send the whole application state as extra data. This is not recommended as application state can be very large and easily exceed the 200kB maximum that Sentry has on individual event payloads. When this happens, you’ll get an HTTP Error 413 Payload Too Large message as the server response or (when keepalive: true is set as fetch parameter), the request will stay in the pending state forever (eg. in Chrome).
https://gyazo.com/f3d11ea932fa3d84bca24195fd619bd9
マウスダウンの処理にエンバグしたことで、マウスムーブでどっさりエラーが送られてる。短時間にたくさん送らないようにできるかな…