mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 573870 - Be less strict about what the path/root of an exception stack file can be [r=mconnor]
Just match anything that doesn't look like another stack file entry.
This commit is contained in:
parent
29f095c96f
commit
b3db2d2328
@ -463,7 +463,7 @@ let Utils = {
|
||||
// Standard JS exception
|
||||
if (e.stack)
|
||||
return "JS Stack trace: " + e.stack.trim().replace(/\n/g, " < ").
|
||||
replace(/@(?:chrome|file):.*?([^\/\.]+\.\w+:)/g, "@$1");
|
||||
replace(/@[^@]*?([^\/\.]+\.\w+:)/g, "@$1");
|
||||
|
||||
return "No traceback available";
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user