1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/test/src/crypto/examples/DESExample.cs b/crypto/test/src/crypto/examples/DESExample.cs
index c026d3159..788fd643f 100644
--- a/crypto/test/src/crypto/examples/DESExample.cs
+++ b/crypto/test/src/crypto/examples/DESExample.cs
@@ -247,10 +247,11 @@ namespace Org.BouncyCastle.Crypto.Examples
outStr.Flush();
outStr.Close();
}
- catch (IOException)
+ catch (IOException closing)
{
- }
- }
+ Console.Error.WriteLine("exception closing resources: " + closing.Message);
+ }
+ }
/*
* This method performs all the encryption and writes
|