Comparing version 1.4.0 to 1.4.1
@@ -551,2 +551,5 @@ // Generated by CoffeeScript 1.7.1 | ||
} | ||
if (token.sqlError && !_this.request.error) { | ||
_this.request.error = RequestError('An unknown error has occurred.', 'UNKNOWN'); | ||
} | ||
_this.request.emit('done', token.rowCount, token.more, _this.request.rows); | ||
@@ -869,2 +872,5 @@ if (token.rowCount !== void 0) { | ||
if (error) { | ||
if (error.code === 'UNKNOWN') { | ||
error.message += ' This is likely because the schema of the BulkLoad does not match the schema of the table you are attempting to insert into.'; | ||
} | ||
bulkLoad.error = error; | ||
@@ -871,0 +877,0 @@ return bulkLoad.callback(error); |
@@ -33,3 +33,3 @@ { | ||
], | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"main": "./lib/tedious.js", | ||
@@ -36,0 +36,0 @@ "repository": { |
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
186266
5423