aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-04 14:14:45 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-04 14:14:45 -0400
commit696a6b34eaaee1fc906d27a968d392b7b7193c41 (patch)
tree96b3cd854c519488bf91ed477dcb6d802a9473c9 /Emby.Server.Implementations/Logging/UnhandledExceptionWriter.cs
parent53024bd149c7f8e96adf86a9fb5e3cf00c883ba8 (diff)
improve smb support
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);