From db1a871c7f25911f93f8dfc1d8569d5cf942b2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Alnet?= Date: Tue, 26 Jan 2016 10:53:21 +0100 Subject: [PATCH] Proposing to replace non-existent `parsed.error` `TypeError: parsed.error is not a function` --- lib/Parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Parser.js b/lib/Parser.js index 8046cbc69..f95f86696 100644 --- a/lib/Parser.js +++ b/lib/Parser.js @@ -251,7 +251,7 @@ Parser.parseMessage = function(data, ua) { } // data.indexOf returned -1 due to a malformed message. else if(headerEnd === -1) { - parsed.error('parseMessage() | malformed message'); + debugerror('parseMessage() | malformed message'); return; }