Browse Source

catch proper exception (#2507)

pull/2508/head
Jason Dove 3 months ago committed by GitHub
parent
commit
6fc602323f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ErsatzTV/Services/RunOnce/PlatformSettingsService.cs

2
ErsatzTV/Services/RunOnce/PlatformSettingsService.cs

@ -21,7 +21,7 @@ public class PlatformSettingsService(IServiceScopeFactory serviceScopeFactory) : @@ -21,7 +21,7 @@ public class PlatformSettingsService(IServiceScopeFactory serviceScopeFactory) :
{
NvEncSharpRedirector.Init();
}
catch (DllNotFoundException)
catch (FileNotFoundException)
{
// do nothing
}

Loading…
Cancel
Save