fix: fix logger typo (#2602)

close #2446
Ref: https://github.com/DIYgod/RSSHub/issues/2446#issuecomment-510302703
This commit is contained in:
Kid 2019-07-11 14:55:31 +08:00 committed by DIYgod
parent 8142e720b4
commit bf9fd809fc
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ async function tokenLoop() {
expires_in = refresh_res.expires_in * 0.9;
} catch (err) {
expires_in = 30;
logger.err(`Pixiv refresh token failed, retry in ${expires_in} seconds.`, err);
logger.error(`Pixiv refresh token failed, retry in ${expires_in} seconds.`, err);
}
}
/* eslint-enable no-await-in-loop */