Error handling for Unknown to Extra pages
Some cleanups to the API path for mapping UnknownPages to ExtraPages.
-
put the error message in one place -
deal with out of range? -
deal with that paper is not scanned -
leave an "any other error" condition rather than assuming those are 404: see db_manager.py:moveUnknownToExtraPage
: there are many error paths here but all are conflated to 404.-
and that 404 is not even handled properly in the manager -
TODO added
-
Edited by Colin Macdonald