Skip to content

Commit 09969a0

Browse files
committed
Improved console error logging
1 parent c147834 commit 09969a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Exceptionless.Web/ClientApp/src/hooks.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ await Exceptionless.startup((c) => {
1919

2020
/** @type {import('@sveltejs/kit').HandleClientError} */
2121
export async function handleError({ error, event }) {
22-
console.log('client error handler', event);
22+
console.error('client error handler', event);
2323
await Exceptionless.submitException(toError(error));
2424
}

src/Exceptionless.Web/ClientApp/src/lib/api/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ function waitForUrl(popup: Window, redirectUri: string): Promise<{ state: string
198198
popup?.close();
199199
}
200200
} catch (error) {
201-
console.log(error);
201+
console.error(error);
202202
// Ignore DOMException: Blocked a frame with origin from accessing a cross-origin frame.
203203
// A hack to get around same-origin security policy errors in IE.
204204
}

0 commit comments

Comments
 (0)