summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2014-10-04 18:44:39 +0400
committerFedor Indutny <fedor@indutny.com>2014-10-08 15:44:40 +0400
commit7a0cfe9b116c6b5d56f7412d6ea71f5a8d8440e2 (patch)
tree65f1811b365ca5e994d7621ff807b44a2854ef6d /lib
parent8efcc7f456f863cb04724c7b35fb935a8c441fe6 (diff)
downloadnode-new-7a0cfe9b116c6b5d56f7412d6ea71f5a8d8440e2.tar.gz
deps: re-implement debugger-agent
Reviewed-By: Trevor Norris <trevnorris@gmail.com> PR-URL: https://github.com/joyent/node/pull/8476
Diffstat (limited to 'lib')
-rw-r--r--lib/_debugger.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/_debugger.js b/lib/_debugger.js
index 4b01d39e5b..41d3fc4210 100644
--- a/lib/_debugger.js
+++ b/lib/_debugger.js
@@ -249,6 +249,10 @@ Client.prototype._onResponse = function(res) {
this._removeScript(res.body.body.script);
handled = true;
+ } else if (res.body && res.body.event === 'compileError') {
+ // This event is not used anywhere right now, perhaps somewhere in the
+ // future?
+ handled = true;
}
if (cb) {