HomeSoftware Heritage

browse/content: Improve error handling for missing bytes

Description

browse/content: Improve error handling for missing bytes

When the bytes of a content are missing in objstorage, display the main
browse interface instead of a plain 404 error page. The HTTP error report
is now displayed in the content box of the browse interface.
The error message for missing bytes has also been improved.

Closes T1130

Details

Provenance
anlambertAuthored on Jul 6 2018, 1:11 PM
anlambertPushed on Jul 6 2018, 2:16 PM
Parents
rDWAPPS5284e41bad18: browse: Handle cases when a content is not available
Branches
Unknown
Tags
Unknown
Tasks
T1130: Create an elegant error when content found in DB but not in objstorage