Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Did a partial refactoring.

  • Loading branch information...
commit 0eaaf262a55a19ae4b3513019fa10b87b7e85d23 1 parent e4955c4
René Kijewski authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/mysql-pool/pool.js
2  lib/mysql-pool/pool.js
@@ -114,7 +114,7 @@ MySQLPool.prototype.connectPool = function connectPool(n, cb) {
114 114 } else {
115 115 var err = new Error("All connections failed.");
116 116 if(cb) {
117   - cb(null, {failed:failedConnections});
  117 + cb(err, {errors:errors});
118 118 } else {
119 119 pool.emit("error", err);
120 120 }

0 comments on commit 0eaaf26

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