Add an option to allow freeze to continue when a 404 error is returned #40

Merged
merged 1 commit into from Feb 12, 2014

2 participants

@max-k

It can be usefull when your application is in development.
I have named it FREEZER_IGNORE_404_NOT_FOUND.
The new option is covered by the documentation and the unit tests.
I hope it will be usefull.
Best Regards.

@SimonSapin
Owner

Is it just for 404, or would it make sense to do the same for all errors?

@max-k
@SimonSapin
Owner

The idea was that there is already many configuration keys, and when adding more I’d like to generalize if possible instead of having key dedicated to a very narrow purpose. But in this case, just 404 makes sense.

The patch looks great, thanks!

@SimonSapin SimonSapin merged commit 508cb0a into SimonSapin:master Feb 12, 2014

1 check passed

Details default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment