mirror of https://github.com/go-gitea/gitea.git
Update web_src/js/bootstrap.js
This commit is contained in:
parent
219619c420
commit
c32c7cea24
|
@ -11,7 +11,7 @@ function shouldIgnoreError(err) {
|
|||
'/assets/js/monaco.', // https://github.com/go-gitea/gitea/issues/30861 , https://github.com/microsoft/monaco-editor/issues/4496
|
||||
];
|
||||
for (const pattern of ignorePatterns) {
|
||||
if (err.stack.includes(pattern)) return true;
|
||||
if (err.stack?.includes(pattern)) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue