mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(core): Ensure error reporter does not promote info
to error
messages (#11245)
This commit is contained in:
parent
e8c87c488f
commit
a7fc7fc229
|
@ -35,7 +35,7 @@ export const error = (e: unknown, options?: ReportingOptions) => {
|
|||
|
||||
export const info = (msg: string, options?: ReportingOptions) => {
|
||||
Logger.info(msg);
|
||||
instance.report(msg, options);
|
||||
instance.report(msg, { ...options, level: 'info' });
|
||||
};
|
||||
|
||||
export const warn = (warning: Error | string, options?: ReportingOptions) =>
|
||||
|
|
Loading…
Reference in a new issue