зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
db7fbb993d
Коммит
736c131289
|
@ -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";
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче