Westinghouse PROMS CPS integration - error handler when waiting to process a pipe message.
This commit is contained in:
parent
b7f4423ca1
commit
8e09b4b064
@ -40,7 +40,7 @@ namespace Volian.Pipe.Library
|
||||
byte[] _buffer = Encoding.UTF8.GetBytes(msg);
|
||||
pipeStream.BeginWrite(_buffer, 0, _buffer.Length, AsyncSend, pipeStream);
|
||||
}
|
||||
catch (TimeoutException ex)
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user