[vue] sentry 설정 및 사용

Edward Hyun·2022년 7월 28일
0

app&web-dev

목록 보기
137/178

설정만 하면 에러 메시지가 sentry 설정된 주소로 전송된다.

만일 안되는 경우라면

각 페이지에서
import * as Sentry from '@sentry/vue';

에러 도출 부분에서
Sentry.captureMessage('에러메시지');

출처 ::
https://docs.sentry.io/platforms/javascript/guides/vue/usage/

profile
앱&웹개발(flutter, vuejs, typescript, react), 인공지능(nlp, asr, rl), 백엔드(nodejs, flask, golang, grpc, webrtc, aws, msa, nft, spring cloud, nest.js), 함수형 프로그래밍(scala, erlang)을 공부하며 정리합니다.

0개의 댓글