Skip to main content
Version: v0.x

How does Proxyflare handle errors?

If your Configuration includes a Route that causes Proxyflare to throw an exception, Proxyflare calls event.passThroughOnException.

The passThroughOnException command prevents a runtime error response when [Proxyflare] throws an unhandled exception. Instead, the script will fail open, which will proxy the request to the origin server as though [Proxyflare] was never invoked.

TLDR

Because it fails open, Proxyflare will never break your domain if it encounters an error internally or in your Configuration.

Proxyflare is critical infrastructure in your networking stack. We take best practices and testing seriously with hundeds of integration and acceptance tests. However, new versions of the software may introduce new bugs.

Check out the debugging Proxyflare article for more information about debugging your Configuration.

If you discover a bug, please report the issue in our Discord.