fix(ts) fix build on macOS

Why this line fails is a mystery, but it's only reproducible on macOS.
This commit is contained in:
Saúl Ibarra Corretgé 2022-09-30 22:04:41 +02:00 committed by Дамян Минков
parent ba8529d72b
commit fbcdb250f4
1 changed files with 3 additions and 0 deletions

View File

@ -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;