Skip to content

Commit ef0370f

Browse files
committed
Include metadata when console-logging reported errors
1 parent f4b9fa5 commit ef0370f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function addErrorTag(key: string, value: string) {
5252
}
5353

5454
export function reportError(error: Error | string, metadata: object = {}) {
55-
console.log('Reporting error:', error);
55+
console.log('Reporting error:', error, metadata);
5656
if (!sentryInitialized) return;
5757

5858
Sentry.withScope((scope) => {

0 commit comments

Comments
 (0)