mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
info log on scrobble success
This commit is contained in:
@@ -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;
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user