mirror of
https://github.com/knex/knex.git
synced 2025-12-28 23:48:58 +00:00
parent
230845d3c2
commit
b0d8d831dd
@ -124,7 +124,11 @@ class Transaction_MSSQL extends Transaction {
|
||||
return;
|
||||
}
|
||||
if (error) {
|
||||
err.originalError = error;
|
||||
try {
|
||||
err.originalError = error;
|
||||
} catch (_err) {
|
||||
// This is to handle https://github.com/knex/knex/issues/4128
|
||||
}
|
||||
}
|
||||
this._rejecter(err);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user