Skip to content

Commit

Permalink
chore: adjust noisy rss logger
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Oct 22, 2020
1 parent 03ccadc commit 41a701b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-rss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function apply(ctx: Context, config: Config = {}) {

ctx.on('connect', async () => {
feeder.on('error', (err: Error) => {
logger.warn(err.message)
logger.debug(err.message)
})

const groups = await ctx.database.getAllGroups(['id', 'rss'])
Expand Down Expand Up @@ -123,7 +123,7 @@ export function apply(ctx: Context, config: Config = {}) {
return '添加订阅成功!'
}
}, (error) => {
logger.warn(error)
logger.debug(error)
return '无法订阅此链接。'
})
})
Expand Down

0 comments on commit 41a701b

Please sign in to comment.