Comparing version 0.1.0-beta-61 to 0.1.0-beta-62
@@ -591,2 +591,5 @@ "use strict"; | ||
_chain: function Request__chain(promise, next) { | ||
var errors = ['HttpError', 'DataError', 'Exception']; | ||
if (!promise) { | ||
@@ -597,3 +600,3 @@ return new Promise(function (resolve, reject) { | ||
} catch (e) { | ||
if (e instanceof error.HttpError) { | ||
if (e && errors.indexOf(e.name) > -1) { | ||
reject(e); | ||
@@ -618,3 +621,3 @@ } else { | ||
} catch (e) { | ||
if (e instanceof error.HttpError) { | ||
if (e && errors.indexOf(e.name) > -1) { | ||
throw e; | ||
@@ -621,0 +624,0 @@ } else { |
@@ -5,3 +5,3 @@ { | ||
"description": "Powerful lightweight mvc framework for nodejs", | ||
"version": "0.1.0-beta-61", | ||
"version": "0.1.0-beta-62", | ||
"dependencies" : { | ||
@@ -8,0 +8,0 @@ "mongoose": "3.8.x", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148274
4713