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 463618a commit bc63ae2Copy full SHA for bc63ae2
1 file changed
packages/core/src/integrations/consola.ts
@@ -246,9 +246,7 @@ export function createConsolaReporter(options: ConsolaReporterOptions = {}): Con
246
// Extra keys on logObj (beyond reserved) indicate direct `reporter.log({ type, message, ...rest })`
247
if (hasExtraLogObjKeys && args && args.length >= 1 && typeof args[0] === 'string') {
248
// Use first 'string' arg as message
249
- const message = args[0];
250
-
251
- _INTERNAL_captureLog({ level: logSeverityLevel, message, attributes });
+ _INTERNAL_captureLog({ level: logSeverityLevel, message: args[0], attributes });
252
return;
253
}
254
0 commit comments