feat: 日志优化

This commit is contained in:
zdl
2025-10-18 17:33:15 +08:00
parent fd2ddb8a3e
commit 7181fae958
10 changed files with 80 additions and 24 deletions

View File

@@ -145,7 +145,10 @@ export default function CenterDashboard() {
}
}
} catch (error) {
console.error('加载实时行情失败:', error);
logger.error('Center', 'loadRealtimeQuotes', error, {
userId: user?.id,
watchlistLength: watchlist.length
});
} finally {
setQuotesLoading(false);
}