Commit a4eb87e0 by 张立顺

先去掉sentry 环境判断

1 parent f647c65d
...@@ -5,9 +5,9 @@ export default function sentryInit() { ...@@ -5,9 +5,9 @@ export default function sentryInit() {
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
//测试和生产才开发sentry //测试和生产才开发sentry
const env = ['trial', 'release'] const env = ['trial', 'release']
env.includes(accountInfo.miniProgram.envVersion) && // env.includes(accountInfo.miniProgram.envVersion) &&
Sentry.init({ Sentry.init({
// dsn: 'http://ebcf31c417cc4ce185782f046e4a87a2@sentry.glsx.com.cn/5' // dsn: 'http://ebcf31c417cc4ce185782f046e4a87a2@sentry.glsx.com.cn/5'
dsn: dsnUrl dsn: dsnUrl
}) })
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!