mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(cli): Fix issue with n8n crashing when error in poll method (#4008)
* 🐛 Fix issue with n8n crashing when error in poll method * Remove unnecessary imports and add async property * Remove unnecessary imports * ⚡ Move createErrorExecution to genericHelper * ⚡ Improvements Co-authored-by: Omar Ajoue <krynble@gmail.com>
This commit is contained in:
@@ -715,7 +715,7 @@ export interface IHookFunctions {
|
||||
}
|
||||
|
||||
export interface IPollFunctions {
|
||||
__emit(data: INodeExecutionData[][]): void;
|
||||
__emit(data: INodeExecutionData[][] | NodeApiError): void;
|
||||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>;
|
||||
getMode(): WorkflowExecuteMode;
|
||||
getActivationMode(): WorkflowActivateMode;
|
||||
|
||||
Reference in New Issue
Block a user