diff --git a/packages/mssql/CHANGELOG.md b/packages/mssql/CHANGELOG.md index af5159882..2d51ad959 100644 --- a/packages/mssql/CHANGELOG.md +++ b/packages/mssql/CHANGELOG.md @@ -1,5 +1,11 @@ # @openfn/language-mssql +## 5.0.6 + +### Patch Changes + +- d8d84d3: improve logging error message + ## 5.0.5 ### Patch Changes @@ -11,7 +17,7 @@ ### Patch Changes -- d3ac969: use reject instead of throwwq +- d3ac969: use reject instead of throw ## 5.0.3 diff --git a/packages/mssql/package.json b/packages/mssql/package.json index f056b7fbf..82d0033c0 100644 --- a/packages/mssql/package.json +++ b/packages/mssql/package.json @@ -1,6 +1,6 @@ { "name": "@openfn/language-mssql", - "version": "5.0.5", + "version": "5.0.6", "description": "A Microsoft SQL language pack for OpenFn", "exports": { ".": { diff --git a/packages/mssql/src/Adaptor.js b/packages/mssql/src/Adaptor.js index 9c78fcca1..a6e5f7d3a 100644 --- a/packages/mssql/src/Adaptor.js +++ b/packages/mssql/src/Adaptor.js @@ -165,7 +165,7 @@ function queryHandler(state, query, callback, options) { const request = new Request(query, (err, rowCount, rows) => { if (err) { - console.error(err.message); + console.error(err); reject(err); } else { console.log(`Finished: ${rowCount} row(s).`);