mina-postgres-manager
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -45,6 +45,9 @@ (function() { | ||
batch = ref[i]; | ||
batch.fail(err); | ||
if (batch.fail != null) { | ||
batch.fail(err); | ||
} else { | ||
batch.successFn(err); | ||
} | ||
} | ||
this.destroy(); | ||
return this.emit('error', err); | ||
return this.destroy(); | ||
}; | ||
@@ -65,13 +68,2 @@ | ||
}; | ||
})(this))["catch"]((function(_this) { | ||
return function(err) { | ||
LOGGER.log('[mina-postgres-manager Error Occurred] message :' + err.toString()); | ||
if (failFn != null) { | ||
failFn(err); | ||
} else if (successFn != null) { | ||
successFn(err); | ||
} | ||
_this.destroy(); | ||
return err; | ||
}; | ||
})(this)); | ||
@@ -102,3 +94,3 @@ }; | ||
}; | ||
})(this)); | ||
})(this))["catch"](this.error); | ||
} | ||
@@ -105,0 +97,0 @@ }; |
{ | ||
"name": "mina-postgres-manager", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "PostgresSQL Management Solution to wrap pg for mina etl", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
25847
775