📅  最后修改于: 2022-03-11 15:04:20.679000             🧑  作者: Mango
// List of errors you want to ignore
Sentry.init({
dsn: "sentry_dsn",
ignoreErrors: [
'TypeError: Failed to fetch',
'TypeError: NetworkError when attempting to fetch resource.',
'TypeError: Cancelled',
'TypeError: cancelado',
],
});