Change Error Logging (#37)

This commit is contained in:
Jam 2024-06-24 18:29:02 +01:00 committed by GitHub
parent 42cdcbe8ef
commit fde7e407fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ namespace Jellyfin.Plugin.Simkl.Services
var userConfig = SimklPlugin.Instance?.Configuration.GetByGuid(userId);
if (userConfig == null || string.IsNullOrEmpty(userConfig.UserToken))
{
_logger.LogError(
_logger.LogInformation(
"Can't scrobble: User {UserName} not logged in ({UserConfigStatus})",
eventArgs.Session.UserName,
userConfig == null);