When a test function raises an exception or does not return a figure, the failure is not reported in the HTML summary. This PR makes a fallback result be logged before calling the test function, so it will appear in the HTML summary in case an exception is raised.
This PR also fixes a bug where, when in hybrid mode, a missing baseline image from a remote URL was not being recorded in the status report. This change makes the code process a baseline download failure similar to how it processes a missing local baseline file.
When a test function raises an exception or does not return a figure, the failure is not reported in the HTML summary. This PR makes a fallback result be logged before calling the test function, so it will appear in the HTML summary in case an exception is raised.
This PR also fixes a bug where, when in hybrid mode, a missing baseline image from a remote URL was not being recorded in the status report. This change makes the code process a baseline download failure similar to how it processes a missing local baseline file.