mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
Fix exception logging
This commit is contained in:
@@ -91,7 +91,7 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//_logger.LogError("Error sending anonymous usage statistics.", ex);
|
||||
_logger.LogError(ex, "Error sending anonymous usage statistics.");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//_logger.LogError("Error sending anonymous usage statistics.", ex);
|
||||
_logger.LogError(ex, "Error sending anonymous usage statistics.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user