diff --git a/packages/workflow/src/ErrorReporterProxy.ts b/packages/workflow/src/ErrorReporterProxy.ts index 3b50d31719ed5..de6c6bec306ca 100644 --- a/packages/workflow/src/ErrorReporterProxy.ts +++ b/packages/workflow/src/ErrorReporterProxy.ts @@ -39,4 +39,4 @@ export const info = (msg: string, options?: ReportingOptions) => { }; export const warn = (warning: Error | string, options?: ReportingOptions) => - error(warning, { level: 'warning', ...options }); + error(warning, { ...options, level: 'warning' });