mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(HTTP Request Node): Show detailed error message in the UI again (#5959)
This commit is contained in:
committed by
GitHub
parent
60d28fc761
commit
e79679c023
14
packages/core/test/utils.ts
Normal file
14
packages/core/test/utils.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { ILogger, LoggerProxy } from 'n8n-workflow';
|
||||
|
||||
const fakeLogger = {
|
||||
log: () => {},
|
||||
debug: () => {},
|
||||
verbose: () => {},
|
||||
info: () => {},
|
||||
warn: () => {},
|
||||
error: () => {},
|
||||
} as ILogger;
|
||||
|
||||
export const initLogger = () => {
|
||||
LoggerProxy.init(fakeLogger);
|
||||
};
|
||||
Reference in New Issue
Block a user