mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Fix incorrect error logs
This commit is contained in:
parent
42b4063699
commit
1cc9774668
5 changed files with 5 additions and 5 deletions
|
@ -75,7 +75,7 @@ async function doRefresh <T extends MActorFull | MActorAccountChannelId> (option
|
|||
function getActorUrl (actor: MActorFull) {
|
||||
return getUrlFromWebfinger(actor.preferredUsername + '@' + actor.getHost())
|
||||
.catch(err => {
|
||||
logger.warn('Cannot get actor URL from webfinger, keeping the old one.', err)
|
||||
logger.warn('Cannot get actor URL from webfinger, keeping the old one.', { err })
|
||||
return actor.url
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue