We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d9139 commit 7a8f9a7Copy full SHA for 7a8f9a7
server.js
@@ -153,7 +153,7 @@ Server.prototype._onHttpRequest = function (req, res) {
153
154
this._onRequest(params, function (err, response) {
155
if (err) {
156
- self.emit('warning', new Error(err.message))
+ self.emit('warning', err)
157
response = {
158
'failure reason': err.message
159
}
@@ -182,7 +182,7 @@ Server.prototype._onUdpRequest = function (msg, rinfo) {
182
// Handle
183
184
185
186
187
action: common.ACTIONS.ERRROR,
188
0 commit comments