我想忽略以下错误(我是从 Sentry 复制过来的)。
TypeError HTMLElement.handleUnpreparedAnnotatable(app-sidebar/app-sidebar-core)
Cannot read property 'parentNode' of null
我可以使用以下内容,但它不起作用。
ignoreErrors: [
/HTMLElement.handleUnpreparedAnnotatable\(app-sidebar\/app-sidebar-core\)/,
],
我不能使用错误消息 (Cannot read property 'parentNode' of null
),因为它不是唯一的。还有其他错误具有相同的消息。