Skip to content

Commit a6224e9

Browse files
committed
Fix error message when beginning a nested transaction
1 parent e65bc60 commit a6224e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transaction.js

Lines changed: 1 addition & 1 deletion
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)