Commit 8efa9d25 by 李伟康

commit 修改选场景sentry错误提示

1 parent 2800a348
...@@ -98,13 +98,14 @@ export default { ...@@ -98,13 +98,14 @@ export default {
} }
} }
} catch (error) { } catch (error) {
this.$sendSentry(`选择场景异常:merchantId:${userInfo.shopMerchantId},merchantName:${userInfo.shopMerchantName},sceneType:${sceneType},失败原因:${JSON.stringify(error)}`)
uni.hideLoading() uni.hideLoading()
uni.showToast({ uni.showToast({
title: error, title: typeof error == "string" ? error : error.toString(),
icon: 'none' icon: 'none'
}) })
console.log(error) console.log(error)
this.$sendSentry(`选择场景异常:merchantId:${userInfo?.shopMerchantId},merchantName:${userInfo?.shopMerchantName},sceneType:${sceneType},失败原因:${typeof error == "string" ? error : error.toString()}`)
} }
}, },
async jump (userInfo, data) { async jump (userInfo, data) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!