Skip to content

Commit

Permalink
Check for parent class
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Jan 9, 2024
1 parent 6c14907 commit c29a4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/NodeExecuteFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ export async function requestWithAuthentication(
}
throw error;
} catch (error) {
if (error instanceof NodeOperationError) throw error;
if (error instanceof ExecutionBaseError) throw error;

throw new NodeApiError(this.getNode(), error);
}
Expand Down

0 comments on commit c29a4c7

Please sign in to comment.