Skip to content

Commit 2198f54

Browse files
committed
RazerGroup exception fix
1 parent 2b7cb7d commit 2198f54

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

OpenHardwareMonitorLib/Hardware/Controller/Razer/RazerGroup.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections.Generic;
23
using System.IO;
34
using System.Text;
45
using HidSharp;
@@ -41,7 +42,7 @@ public RazerGroup(ISettings settings)
4142
break;
4243
}
4344
}
44-
catch (IOException e)
45+
catch (Exception e)
4546
{
4647
_report.AppendLine($"Failed to get information for USB device with id {dev.ProductID}: {e.Message} ");
4748
}

0 commit comments

Comments
 (0)