404 page #9

Closed
opened 2017-12-10 19:50:10 +00:00 by witten · 1 comment
Owner

As a user, if the content corresponding to a hash fails to load, I want to see some indication instead of just a blank page, so I know the app is at least working enough to return a visible error.

Right now, the ipfs.files.cat function in js-ipfs appears to never error or fire the callback in the case that the content isn't found.

As a user, if the content corresponding to a hash fails to load, I want to see some indication instead of just a blank page, so I know the app is at least working enough to return a visible error. Right now, the `ipfs.files.cat` function in `js-ipfs` appears to never error or fire the callback in the case that the content isn't found.
Author
Owner

The ipfs.files.cat() hang has been fixed in newer version of js-ipfs, and anyways I've recently switched to ipfs.files.get() to get directory listings (which has its own issues...).

But in any case, the 404 page is implemented!

The `ipfs.files.cat()` hang has been fixed in newer version of js-ipfs, and anyways I've recently switched to `ipfs.files.get()` to get directory listings (which has its [own issues](https://github.com/ipfs/js-ipfs/issues/1165)...). But in any case, the 404 page is implemented!
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: witten/intergalactic#9
No description provided.