Skip to content

Commit

Permalink
chore: update emit override message
Browse files Browse the repository at this point in the history
  • Loading branch information
valya committed Nov 2, 2022
1 parent 66bed2c commit 8a38ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/NodeExecuteFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1922,11 +1922,11 @@ export function getExecutePollFunctions(
return ((workflow: Workflow, node: INode) => {
return {
__emit: (data: INodeExecutionData[][]): void => {
throw new Error('Overwrite NodeExecuteFunctions.getExecutePollFunctions.emit function!');
throw new Error('Overwrite NodeExecuteFunctions.getExecutePollFunctions.__emit function!');
},
__emitError(error: Error) {
throw new Error(
'Overwrite NodeExecuteFunctions.getExecutePollFunctions.emitError function!',
'Overwrite NodeExecuteFunctions.getExecutePollFunctions.__emitError function!',
);
},
async getCredentials(type: string): Promise<ICredentialDataDecryptedObject> {
Expand Down

0 comments on commit 8a38ed7

Please sign in to comment.