mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Fix exception logging
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Emby.Server.Implementations.Devices
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error reading file", ex);
|
||||
_logger.LogError(ex, "Error reading file");
|
||||
}
|
||||
|
||||
return null;
|
||||
@@ -66,7 +66,7 @@ namespace Emby.Server.Implementations.Devices
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error writing to file", ex);
|
||||
_logger.LogError(ex, "Error writing to file");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user