|
|
@@ -2,6 +2,7 @@
|
|
|
using System.Globalization;
|
|
|
using System.Text;
|
|
|
using System.Threading;
|
|
|
+using Renci.SshNet.Abstractions;
|
|
|
using Renci.SshNet.Channels;
|
|
|
using Renci.SshNet.Common;
|
|
|
|
|
|
@@ -170,6 +171,8 @@ namespace Renci.SshNet
|
|
|
{
|
|
|
_exception = error;
|
|
|
|
|
|
+ DiagnosticAbstraction.Log("Raised exception: " + error);
|
|
|
+
|
|
|
var errorOccuredWaitHandle = _errorOccuredWaitHandle;
|
|
|
if (errorOccuredWaitHandle != null)
|
|
|
errorOccuredWaitHandle.Set();
|