From 36e31246c41cf18c57fff0b14f59aee83c9c8c4b Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 11 Mar 2015 11:02:40 +0000 Subject: [PATCH 1/2] update netutil --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 96cc49bd..3c5f7d61 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "msgpack-js": "~0.1.1", "msgpack-js-browser": "~0.1.4", "nak": "", - "netutil": "~0.0.1", + "netutil": "~0.0.2", "optimist": "~0.6.0", "qs": "0.6.6", "rusha": "~0.7.2", From c506748bf00d33f76903f26f19594ff709f0ab97 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 11 Mar 2015 12:10:19 +0000 Subject: [PATCH 2/2] some cleanup --- plugins/c9.error/raygun.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/c9.error/raygun.js b/plugins/c9.error/raygun.js index 19e81863..1681248f 100644 --- a/plugins/c9.error/raygun.js +++ b/plugins/c9.error/raygun.js @@ -33,11 +33,10 @@ function plugin(options, imports, register) { client = clients[client]; client._send = client.send; client.send = function(exception, customData, callback, request) { - var ex = exception; if (!exception.stack) - ex = new Error(exception.message || exception); + exception = new Error(exception.message || exception); - return this._send(ex, customData, callback, request); + return this._send.apply(this, arguments); }; }