From 7d23b5cd7c1654366e06627f0f50b2d100a7438a Mon Sep 17 00:00:00 2001 From: Young Hahn Date: Thu, 19 May 2011 18:27:28 -0400 Subject: [PATCH] Update tilelive pool factory create method to pass errors. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index bdd2d1a..8a2e278 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ module.exports = { create: function(callback) { var resource = new MBTiles( datasource, - function() { callback(resource); } + function(err) { callback(err, resource); } ); }, destroy: function(resource) {