mssql-cr-layer 2.0.18 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +4 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -272,12 +272,15 @@ MssqlCrLayer.prototype.query = function(statement, params, options) {
|
|
|
272
272
|
})
|
|
273
273
|
})
|
|
274
274
|
.catch(function(error) {
|
|
275
|
-
debug('%s %O', statement, error)
|
|
276
275
|
return ps.unprepare().then(function() {
|
|
277
276
|
throw error
|
|
278
277
|
})
|
|
279
278
|
})
|
|
280
279
|
})
|
|
280
|
+
.catch(err => {
|
|
281
|
+
debug('%s %O', statement, err)
|
|
282
|
+
throw err
|
|
283
|
+
})
|
|
281
284
|
}
|
|
282
285
|
|
|
283
286
|
/**
|