Skip to content
Browse files

connection: change error style for pasv connection errors

  • Loading branch information...
1 parent 8d71872 commit e9c43fc050a1cbe7bb9c277d639bad22795fcdd7 @mscdex committed Aug 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/connection.js
View
2 lib/connection.js
@@ -847,7 +847,7 @@ FTP.prototype._pasvConnect = function(ip, port, cb) {
if (!self._pasvSocket && !timedOut) {
var errmsg = 'Unable to make data connection';
if (sockerr) {
- errmsg += ': ' + sockerr;
+ errmsg += '( ' + sockerr + ')';
sockerr = undefined;
}
cb(new Error(errmsg));

0 comments on commit e9c43fc

Please sign in to comment.
Something went wrong with that request. Please try again.