mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-31 09:38:25 +00:00
Fix exception logging
This commit is contained in:
parent
bf01918659
commit
ea4c914123
123 changed files with 565 additions and 607 deletions
|
|
@ -180,7 +180,7 @@ namespace Emby.Server.Implementations.HttpServer
|
|||
if (!message.StartsWith("{", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
// This info is useful sometimes but also clogs up the log
|
||||
//_lLogError("Received web socket message that is not a json structure: " + message);
|
||||
_logger.LogDebug("Received web socket message that is not a json structure: {message}", message);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -204,7 +204,7 @@ namespace Emby.Server.Implementations.HttpServer
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError("Error processing web socket message", ex);
|
||||
_logger.LogError(ex, "Error processing web socket message");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue