chore(frontend): emit dashboard diagnostics via console.error
This commit is contained in:
parent
21aac7c495
commit
8c8df1b2b8
1 changed files with 2 additions and 2 deletions
|
|
@ -25,10 +25,10 @@ const Dashboard = () => {
|
|||
|
||||
const debugLog = (icon: string, message: string, payload?: unknown) => {
|
||||
if (payload !== undefined) {
|
||||
console.log(`[Dashboard] ${icon} ${message}`, payload);
|
||||
console.error(`[Dashboard] ${icon} ${message}`, payload);
|
||||
return;
|
||||
}
|
||||
console.log(`[Dashboard] ${icon} ${message}`);
|
||||
console.error(`[Dashboard] ${icon} ${message}`);
|
||||
};
|
||||
|
||||
const navigateWithDebug = (target: string, source: string) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue