mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Ensure error reporter does not promote info to error messages (#11245)
This commit is contained in:
@@ -35,7 +35,7 @@ export const error = (e: unknown, options?: ReportingOptions) => {
|
|||||||
|
|
||||||
export const info = (msg: string, options?: ReportingOptions) => {
|
export const info = (msg: string, options?: ReportingOptions) => {
|
||||||
Logger.info(msg);
|
Logger.info(msg);
|
||||||
instance.report(msg, options);
|
instance.report(msg, { ...options, level: 'info' });
|
||||||
};
|
};
|
||||||
|
|
||||||
export const warn = (warning: Error | string, options?: ReportingOptions) =>
|
export const warn = (warning: Error | string, options?: ReportingOptions) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user