chore(frontend): emit dashboard diagnostics via console.error

This commit is contained in:
Tiago Yamamoto 2026-03-05 14:58:13 -06:00
parent 21aac7c495
commit 8c8df1b2b8

View file

@ -25,10 +25,10 @@ const Dashboard = () => {
const debugLog = (icon: string, message: string, payload?: unknown) => { const debugLog = (icon: string, message: string, payload?: unknown) => {
if (payload !== undefined) { if (payload !== undefined) {
console.log(`[Dashboard] ${icon} ${message}`, payload); console.error(`[Dashboard] ${icon} ${message}`, payload);
return; return;
} }
console.log(`[Dashboard] ${icon} ${message}`); console.error(`[Dashboard] ${icon} ${message}`);
}; };
const navigateWithDebug = (target: string, source: string) => { const navigateWithDebug = (target: string, source: string) => {