Skip to content

Commit

Permalink
CommsInjection: make exception type more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed May 12, 2024
1 parent a216172 commit 7ba6d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExtLibs/Comms/CommsInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}

Expand Down

0 comments on commit 7ba6d35

Please sign in to comment.