From e550ac62177a9786af6c4f37cd02aca194d75447 Mon Sep 17 00:00:00 2001 From: N0str Date: Sat, 14 Dec 2019 15:09:52 +0300 Subject: [PATCH] Send line to 'func' if regex not matched --- hawk/modules/stack.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hawk/modules/stack.js b/hawk/modules/stack.js index b9d38393..43ce2ca2 100644 --- a/hawk/modules/stack.js +++ b/hawk/modules/stack.js @@ -35,6 +35,11 @@ module.exports = function () { } let matches = REGEXPS.CHROME_IE.exec(line); + if (!matches) { + return { + func: line + } + } return { func: matches[1],