diff --git a/docs/knex.html b/docs/knex.html index 1c9317df..386a371d 100644 --- a/docs/knex.html +++ b/docs/knex.html @@ -27,7 +27,7 @@
-
Knex.js  0.1.6
+              
Knex.js  0.1.7
 
 (c) 2013 Tim Griesser
 Knex may be freely distributed under the MIT license.
@@ -91,7 +91,11 @@ http://knexjs.org
-
  Knex.VERSION = '0.1.6';
+
  Knex.VERSION = '0.1.7';
+
+  var rethrower = function(err) {
+    throw err;
+  };
@@ -129,7 +133,8 @@ used to generate the sql in one form or another.

For those who dislike promise interfaces. Multiple calls to exec will resolve with the same value -if called more than once.

+if called more than once. Any unhandled errors will be thrown +after the last block.

@@ -139,6 +144,8 @@ if called more than once.

callback(null, resp); }, function(err) { callback(err, null); + }).then(null, function(err) { + setTimeout(function() { throw err; }, 0); }); },
diff --git a/index.html b/index.html index 7c603da4..ace7c8bd 100644 --- a/index.html +++ b/index.html @@ -181,7 +181,7 @@