fix(ts) fix build on macOS

Why this line fails is a mystery, but it's only reproducible on macOS.
pull/12283/head jitsi-meet_7870
Saúl Ibarra Corretgé 3 years ago committed by Дамян Минков
parent ba8529d72b
commit fbcdb250f4
  1. 3
      react/features/base/lib-jitsi-meet/middleware.ts

@ -93,6 +93,9 @@ function _setErrorHandlers() {
if (JitsiMeetJS.getGlobalOnErrorHandler) {
const oldOnErrorHandler = window.onerror;
// TODO: Don't remove this ignore. The build fails on macOS and we don't know yet why.
// @ts-ignore
window.onerror = (message, source, lineno, colno, error) => { // eslint-disable-line max-params
const errMsg = message || error?.message;
const stack = error?.stack;

Loading…
Cancel
Save