As far as I can tell, react-snap ignores pages when there is an error that is thrown. While this is a smart default, there are times when errors being thrown are the result of an external script the developer is not responsible for. In these cases, there should be an option to ignore those errors and take a snapshot of the page anyway.
For example, in our newsroom we have to load ad-tech code (or ads themselves) that can sometimes throw errors. These errors are not our concern as long as the main content loads correctly. But without the option provided in this pull request that would not be possible.
Description
As far as I can tell,
react-snap
ignores pages when there is an error that is thrown. While this is a smart default, there are times when errors being thrown are the result of an external script the developer is not responsible for. In these cases, there should be an option to ignore those errors and take a snapshot of the page anyway.For example, in our newsroom we have to load ad-tech code (or ads themselves) that can sometimes throw errors. These errors are not our concern as long as the main content loads correctly. But without the option provided in this pull request that would not be possible.
Let me know if you have any questions.
Thanks!