v2.0代码提交

This commit is contained in:
zhuoda
2022-10-27 22:54:37 +08:00
parent 5593e3d2f8
commit 97f65a9d6e
1846 changed files with 128720 additions and 15512 deletions

View File

@@ -1,17 +0,0 @@
import * as Sentry from '@sentry/browser';
const SmartSentry = {};
SmartSentry.install = function(Vue, options) {
Vue.prototype.$smartSentry = {
captureException: (error) => {
console.error(error);
if (error.config && error.data && error && error.headers && error.request && error.status) {
return;
}
Sentry.captureException(error);
}
};
};
export default SmartSentry;