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 1edfe1d commit 6e4aca8Copy full SHA for 6e4aca8
src/addons/consoleCatcher.ts
@@ -25,6 +25,7 @@ const createConsoleCatcher = (): {
25
const firstArg = args[0];
26
27
if (typeof firstArg !== 'string' || !firstArg.includes('%c')) {
28
+
29
return {
30
message: args
31
.map((arg) => (typeof arg === 'string' ? arg : safeStringify(arg)))
@@ -74,6 +75,7 @@ const createConsoleCatcher = (): {
74
75
): ConsoleLogEvent => {
76
77
if (event instanceof ErrorEvent) {
78
79
80
method: 'error',
81
timestamp: new Date(),
@@ -149,6 +151,7 @@ const createConsoleCatcher = (): {
149
151
},
150
152
153
getConsoleLogStack(): ConsoleLogEvent[] {
154
155
return [ ...consoleOutput ];
156
157
};
0 commit comments