mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Exception handling https://github.com/seerge/g-helper/issues/2556
This commit is contained in:
@@ -159,7 +159,13 @@ namespace GHelper.Display
|
||||
AppConfig.Set("miniled", miniled);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
hdr = ScreenCCD.GetHDRStatus();
|
||||
} catch (Exception ex)
|
||||
{
|
||||
Logger.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
bool screenEnabled = (frequency >= 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user