diff --git a/ExtLibs/Comms/CommsInjection.cs b/ExtLibs/Comms/CommsInjection.cs index 31c2b3132e..2fbdb26955 100644 --- a/ExtLibs/Comms/CommsInjection.cs +++ b/ExtLibs/Comms/CommsInjection.cs @@ -60,7 +60,7 @@ public int Read(byte[] buffer, int offset, int count) { Thread.Sleep(1); if (counttimeout > ReadTimeout) - throw new Exception("CommsInjection Timeout on read"); + throw new TimeoutException("CommsInjection Timeout on read"); counttimeout++; }