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 884dc89 commit 1d8c500Copy full SHA for 1d8c500
packages/integrations/src/captureconsole.ts
@@ -62,6 +62,8 @@ export class CaptureConsole implements Integration {
62
scope.setExtra('arguments', args.slice(1));
63
hub.captureMessage(message);
64
}
65
+ } else if (level === 'error' && args[0] instanceof Error) {
66
+ hub.captureException(args[0]);
67
} else {
68
69
0 commit comments