diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-08-06 00:48:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-06 00:48:52 -0400 |
| commit | 99ad574bb83296f004a54e20c2c9696dbdcb6eb0 (patch) | |
| tree | 99d6514058d992775f91a76e7f585196c9a50e9b /MediaBrowser.Server.Startup.Common/ApplicationHost.cs | |
| parent | bfe746d4e08e9b5d8422856000f0479853df64e4 (diff) | |
| parent | 0706bd5237125c8b95a7b8fa1576aa061703a397 (diff) | |
Merge pull request #2027 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 3f1f98cd0..ce99f0a24 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -606,7 +606,7 @@ namespace MediaBrowser.Server.Startup.Common { return new ImageMagickEncoder(LogManager.GetLogger("ImageMagick"), ApplicationPaths, HttpClient, FileSystemManager, ServerConfigurationManager); } - catch (Exception ex) + catch { Logger.Error("Error loading ImageMagick. Will revert to GDI."); } @@ -616,7 +616,7 @@ namespace MediaBrowser.Server.Startup.Common { return new GDIImageEncoder(FileSystemManager, LogManager.GetLogger("GDI")); } - catch (Exception ex) + catch { Logger.Error("Error loading GDI. Will revert to NullImageEncoder."); } @@ -1412,7 +1412,7 @@ namespace MediaBrowser.Server.Startup.Common { return new Uri(externalDns).Host; } - catch (Exception e) + catch { return externalDns; } |
