Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E3 fails uninformatively on missing data link #46

Open
karger opened this issue Feb 19, 2012 · 0 comments
Open

E3 fails uninformatively on missing data link #46

karger opened this issue Feb 19, 2012 · 0 comments

Comments

@karger
Copy link
Contributor

karger commented Feb 19, 2012

When an exhibit includes any link to a nonexistent data file, even if other links are good, E3 issues a relatively opaque "uncaught exception: Not Found" message in the error console. Adding the faulty URL would be nice. More importantly, this kind of "fail fast" is good for programmers but I don't think it's ideal for non-users. I suggest that we take a lesson from the browser, which tries to proceed if e.g. it fails to load a script or an image. Exhibit should try to load any other data files, render the exhibit, etc. This will give the naive user more information about what's gone wrong, and may also produce something useful-though-imperfect. Summarizing: we should issue warning, not throw errors, for these kind of non-fatal issues.

See an example at http://people.csail.mit.edu/karger/Exhibit3/demos/nobelists/broken-nobelists.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant