Skip to content

Commit bd2fe3d

Browse files
authored
Merge pull request #9 from txase/fixErrorMessage
Fix error message
2 parents e65bc60 + 5ca0001 commit bd2fe3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "knex-aurora-data-api-mysql",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "Knex.js driver for MySQL AWS Aurora Data API",
55
"homepage": "https://github.com/txase/knex-aurora-data-api-mysql",
66
"repository": "txase/knex-aurora-data-api-mysql",

transaction.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Transaction_AuroraDataMySQL extends Transaction { // eslint-disable-line c
1616
/* istanbul ignore next */
1717
if (conn.parameters.transactionId) {
1818
throw new Error(
19-
`Attempted to begin a new transaction for connection with existing transaction ${conn.transactionId}`
19+
`Attempted to begin a new transaction for connection with existing transaction ${conn.parameters.transactionId}`
2020
);
2121
}
2222

0 commit comments

Comments
 (0)