summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/datacite.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-28 16:59:32 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-28 17:29:44 -0700
commitab80084f1cd90faf5e069edc4203668c81e75d63 (patch)
treedd1d4ca21aa805efddd66dd1aa259e5f3b0323d6 /python/fatcat_tools/importers/datacite.py
parent76cec8852f6e431b1c87f7d25f8bd4404f1c67e1 (diff)
downloadfatcat-ab80084f1cd90faf5e069edc4203668c81e75d63.tar.gz
fatcat-ab80084f1cd90faf5e069edc4203668c81e75d63.zip
generic API error page
This error handler and view page currently works much better than the "flash()" infrastructure built-in to flask, which uses cookies and mostly does not work with our views and layouts. Would like to gradually migrate almost all API errors in the web interface to just raising errors that get rendered on an error page, instead of calling `abort(ae.status)`.
Diffstat (limited to 'python/fatcat_tools/importers/datacite.py')
0 files changed, 0 insertions, 0 deletions