Skip to content

Commit af03690

Browse files
committed
wip: remove me
1 parent 73900e2 commit af03690

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/util.ts

+3
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,12 @@ export const getFirstString = (value: string | string[] | object | undefined): s
114114
}
115115

116116
export function logError(prefix: string, err: any): void {
117+
console.log("hey joe log error was called")
117118
if (err instanceof Error) {
119+
console.log("it was an instance of error")
118120
logger.error(`${prefix}: ${err.message} ${err.stack}`)
119121
} else {
122+
console.log("not an isntance errro")
120123
logger.error(`${prefix}: ${err}`)
121124
}
122125
}

0 commit comments

Comments
 (0)