v2.0.2: handle undefined error message string

このコミットが含まれているのは:
AJ ONeal 2018-08-12 02:39:24 -06:00
コミット bcd332fea1
2個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -155,7 +155,7 @@ Packer.create = function (opts) {
try {
msg = JSON.parse(data.toString());
} catch(e) {
msg.message = data.toString();
msg.message = 'e:' + JSON.stringify(data);
msg.code = 'E_UNKNOWN_ERR';
}
}

ファイルの表示

@ -1,6 +1,6 @@
{
"name": "proxy-packer",
"version": "2.0.1",
"version": "2.0.2",
"description": "A strategy for packing and unpacking a proxy stream (i.e. packets through a tunnel). Handles multiplexed and tls connections. Used by telebit and telebitd.",
"main": "index.js",
"scripts": {