mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
refactor(core): Streamline flows in multi-main mode (no-changelog) (#8446)
This commit is contained in:
@@ -33,7 +33,10 @@ export const error = (e: unknown, options?: ReportingOptions) => {
|
||||
if (toReport) instance.report(toReport, options);
|
||||
};
|
||||
|
||||
export const report = error;
|
||||
export const info = (msg: string, options?: ReportingOptions) => {
|
||||
Logger.info(msg);
|
||||
instance.report(msg, options);
|
||||
};
|
||||
|
||||
export const warn = (warning: Error | string, options?: ReportingOptions) =>
|
||||
error(warning, { level: 'warning', ...options });
|
||||
|
||||
Reference in New Issue
Block a user