Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync knex & DB transaction state on trx callback error throw
Previously throwing an error directly from a transaction callback resulted in knex reporting that transaction's promise as rejected, and releasing used connection (back to the connection pool), but not telling the database to roll back that connection's transaction.
- Loading branch information