OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
3.37k stars 3.39k forks source link

[Bug] 3.9 - The react error boundary UI immediately closes when you click Show Details, and the error is no longer logged to console. #4537

Open JamesAPetts opened 1 day ago

JamesAPetts commented 1 day ago

Describe the Bug

If you have an uncaught error somewhere, this is now caught and displayed to the user:

Screenshot 2024-11-20 at 16 26 03

Two main issues:

Steps to Reproduce

Generate any error which would be hit by react.

The current behavior

Show Details doesn't work correctly, and no error is logged.

The expected behavior

Show Details works correctly, and an error is logged.

OS

N/A

Node version

N/A

Browser

N/A

salimkanoun commented 18 hours ago

+1