mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-24 15:09:51 +00:00
日志微调
This commit is contained in:
@@ -35,7 +35,7 @@ async function getPageWithRetry(id, from, retryAttempts = 3) {
|
||||
const authToken = BLOG.NOTION_ACCESS_TOKEN || null
|
||||
const api = new NotionAPI({ authToken, userTimeZone: 'Asia/ShangHai' })
|
||||
const pageData = await api.getPage(id)
|
||||
console.info('[响应成功]:', `from:${from}`, `id:${id}`)
|
||||
console.info('[响应成功]:', `from:${from}`)
|
||||
return pageData
|
||||
} catch (e) {
|
||||
console.warn('[响应异常]:', e)
|
||||
|
||||
Reference in New Issue
Block a user