pull/39/head^2
Fabian Jakobs 2015-03-11 12:10:19 +00:00
rodzic 36e31246c4
commit c506748bf0
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -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);
};
}