diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-29 09:12:29 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-29 09:12:29 -0500 |
| commit | 3488cfecbd54eaaf917d853664f68cac84d472e9 (patch) | |
| tree | a3f05e3f05e0441ae775b544d1b983a93ea49887 /MediaBrowser.ServerApplication/MainStartup.cs | |
| parent | e19766b1b7e4735e18ebb0e997579f7671cc267c (diff) | |
make lazy loaded paths more nimble
Diffstat (limited to 'MediaBrowser.ServerApplication/MainStartup.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index 6bf78c4e14..7da17bc225 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -405,6 +405,7 @@ namespace MediaBrowser.ServerApplication _logger.ErrorException("UnhandledException", ex); var path = Path.Combine(_appHost.ServerConfigurationManager.ApplicationPaths.LogDirectoryPath, "unhandled_" + Guid.NewGuid() + ".txt"); + Directory.CreateDirectory(Path.GetDirectoryName(path)); var builder = LogHelper.GetLogMessage(ex); |
