mirror of
https://github.com/Maassoft/ColorControl.git
synced 2026-10-23 09:02:19 -05:00
made loading presets code more robust
This commit is contained in:
1 parent
3667243fc7
commit
dd9ce932fc
10 files changed
+111
-71
No files matched your search
@@ -126,10 +126,10 @@ namespace ColorControl
|
||||
|
||||
_nvService.AfterApplyPreset += NvServiceAfterApplyPreset;
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
//Logger.Error("Error initializing NvService: " + e.ToLogString());
|
||||
Logger.Debug("No NVIDIA device detected");
|
||||
Logger.Debug($"No NVIDIA device detected: {ex.Message}");
|
||||
tcMain.TabPages.Remove(tabNVIDIA);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user