Update the thread loader test in errors (#4420)

This commit is contained in:
Marco Fugaro
2018-05-09 06:37:19 +02:00
committed by Joe Haddad
parent 3aaddefc51
commit 9843be53f5

View File

@@ -46,7 +46,7 @@ function formatMessage(message, isError) {
if (threadLoaderIndex !== -1) {
return;
}
if (line.indexOf('from thread-loader (worker') !== -1) {
if (/thread.loader/i.test(line)) {
threadLoaderIndex = index;
}
});