Skip to content

Commit

Permalink
Proper exception
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet committed Jul 14, 2021
1 parent 5d91bfc commit 836ba7a
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -349,7 +349,14 @@ private async Task DisposeHelper(AsyncWrappingCommonArgs async)
if (!_disposed)
{
_disposed = true;
await Release(async).ConfigureAwait(false);
try
{
await Release(async).ConfigureAwait(false);
}
catch (IscException ex)
{
throw FbException.Create(ex);
}
_commandTimeout = 0;
_fetchSize = 0;
_implicitTransaction = false;
Expand Down

0 comments on commit 836ba7a

Please sign in to comment.