Help debugging #857

This commit is contained in:
Enrico Ros
2025-10-27 10:31:31 -07:00
parent 7b6eb94bf7
commit 1af4e18cb3
+1 -1
View File
@@ -6,7 +6,7 @@ import { Release } from '~/common/app.release';
*/
export function presentErrorToHumans(error: any, mdBold: boolean = false, devWarnError: boolean = false): string {
if (devWarnError)
console.error('presentErrorToHumans', { errorType: typeof error, error: error });
console.error('presentErrorToHumans', { errorType: typeof error, isError: error instanceof Error, error: error });
// Handle Error objects
if (error instanceof Error) {