Skip to content

v5.6.0

Compare
Choose a tag to compare
@trotzig trotzig released this 11 Jun 10:59

This minor release changes the behavior for React components that throw errors on render. Before, we would fail the happo run on the first error and do our best to log it. That worked okay in some cases, and not at all well in some cases, where the error details went missing along the way. To make debugging easier, errors are now caught in an error boundary. The error is console logged and sent as the output of the error boundary. This means that the error will end up showing in the screenshot.

The error handling change only applies to Happo Examples written in React.