Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Error |
BSL OS |
Major |
Yes |
10 |
standard |
The CommitTransaction method should be the last one in the Try block, just before the Exception operator, to ensure that there is no exception after the CommitTransaction.
// BSLLS:CommitTransactionOutsideTryCatch-off
// BSLLS:CommitTransactionOutsideTryCatch-on
"CommitTransactionOutsideTryCatch": false