info log on scrobble success

This commit is contained in:
simojenki
2021-03-17 19:15:07 +11:00
parent b89240a4db
commit 852cc34a43

View File

@@ -139,9 +139,10 @@ function server(
.login(authToken) .login(authToken)
.then((it) => .then((it) =>
it.scrobble(id).then((scrobbleSuccess) => { it.scrobble(id).then((scrobbleSuccess) => {
if(!scrobbleSuccess) { if(scrobbleSuccess)
logger.warn("Failed to scrobble....") logger.info(`Scrobbled ${id}`)
} else
logger.warn(`Failed to scrobble ${id}....`)
return it; return it;
}) })
) )