Skip to content

Commit

Permalink
Fix breakage caused by moving to .NET 5
Browse files Browse the repository at this point in the history
  • Loading branch information
chkn authored and alexischr committed Jun 2, 2021
1 parent 92c6ae1 commit fe946e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Meadow.CLI.Core/DeviceManagement/MeadowDeviceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public static async Task<DebuggingServer> CreateDebuggingServer(MeadowSerialDevi
{
attempts++;
meadow.AttemptToReconnectToMeadow();
} catch (IOException)
} catch (Exception ex) when (ex is IOException || ex.InnerException is IOException)
{
if (attempts < 5)
{
Expand Down

0 comments on commit fe946e1

Please sign in to comment.