We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73900e2 commit af03690Copy full SHA for af03690
src/common/util.ts
@@ -114,9 +114,12 @@ export const getFirstString = (value: string | string[] | object | undefined): s
114
}
115
116
export function logError(prefix: string, err: any): void {
117
+ console.log("hey joe log error was called")
118
if (err instanceof Error) {
119
+ console.log("it was an instance of error")
120
logger.error(`${prefix}: ${err.message} ${err.stack}`)
121
} else {
122
+ console.log("not an isntance errro")
123
logger.error(`${prefix}: ${err}`)
124
125
0 commit comments