Commit 3dec7c8b authored by afc163's avatar afc163

use rollbar over rollbar-browser

parent 66583a7d
import Rollbar from 'rollbar-browser';
import Rollbar from 'rollbar';
// Track error by https://sentry.io/
if (location.host === 'preview.pro.ant.design') {
Rollbar.init({
accessToken: '033ca6d7c0eb4cc1831cf470c2649971',
captureUncaught: true,
captureUnhandledRejections: true,
payload: {
environment: 'production',
},
......
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