aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs')
-rw-r--r--Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs b/Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs
index 6e96d83fd..7104935e1 100644
--- a/Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs
+++ b/Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs
@@ -29,7 +29,7 @@ namespace Emby.Server.Implementations.Logging
_logManager.Flush();
var path = Path.Combine(_appPaths.LogDirectoryPath, "unhandled_" + Guid.NewGuid() + ".txt");
- _fileSystem.CreateDirectory(Path.GetDirectoryName(path));
+ _fileSystem.CreateDirectory(_fileSystem.GetDirectoryName(path));
var builder = LogHelper.GetLogMessage(ex);