【smart-app】 更新beta版本

This commit is contained in:
zhuoda
2024-03-17 22:57:18 +08:00
parent dd43d6e9da
commit de915358cc
304 changed files with 44899 additions and 5992 deletions

View File

@@ -0,0 +1,22 @@
/*
* 错误上报sentry
*
* @Author: 1024创新实验室-主任:卓大
* @Date: 2024-01-02 20:49:28
* @Wechat: zhuda1024
* @Email: lab1024@163.com
* @Copyright 1024创新实验室 https://1024lab.net Since 2012
*/
export const smartSentry = {
/**
* sentry 主动上报
*/
captureError: (error) => {
if (error.config && error.data && error && error.headers && error.request && error.status) {
return;
}
// Sentry.captureException(error);
console.error(error);
},
};