Commit 66263030 authored by 张子雨's avatar 张子雨

feat: 修改sentry

parent 2ed5394b
......@@ -2,7 +2,7 @@
import * as Sentry from '@sentry/react';
import localStorage from '@/utils/localStorage';
if (process.env.NODE_ENV === 'production') {
if (process.env.SENTRY_ENV !== 'test' && process.env.NODE_ENV === 'production') {
try {
Sentry.init({
dsn: 'https://b3f60c62e1234e26a5b851b9f26fba07@sentry.q-gp.com/34',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment