Is There a Way to Ignore Certain Error Types in My Workflow Besides Custom Error Handling?

This topic was automatically generated from Slack. You can find the original thread here.

I’m trying to ignore certain error types in my workflow. I see docs around custom error handling by building a new workflow and routing errors through there - is there anything besides this I can do within the core workflow such as creating an if statement based on the error, or is that not possible?

Hi Sarah, good question. Are you trying to catch errors from pre-built actions or code?

Because if you’re just using code you can wrap your code with try…catch statements and ignore certain types of errors.

Otherwise, if you’re using pre-built actions, you can fork the actions, apply try…catch statements and publish them to your account.

The 3rd alternative is to set up a custom error workflow, but then you’d have to use regex rules to filter out specific errors I believe

I’m using the get webhook request so prebuilt. What do you mean by fork the actions?

Ah, got it. Then yes that code lives here: https://github.com/PipedreamHQ/pipedream/blob/master/components/http/actions/custom-request/custom-request.mjs

All of Pipedream’s triggers and actions are open source.

So you can fork the Pipedream Github repository to your own Github account, modify them for your needs, and publish the modified actions back to your Pipedream account.