Skip to content

Commit 0a5ef95

Browse files
committed
Properly handling IscException (DNET-814).
1 parent 6c06b5b commit 0a5ef95

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbTransaction.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,14 @@ protected override void Dispose(bool disposing)
8787
{
8888
if (!_isCompleted)
8989
{
90-
_transaction.Dispose();
90+
try
91+
{
92+
_transaction.Dispose();
93+
}
94+
catch (IscException ex)
95+
{
96+
throw new FbException(ex.Message, ex);
97+
}
9198
}
9299
}
93100
_connection = null;

0 commit comments

Comments
 (0)