Closed simonw closed 5 months ago
If an error occurs it should display that error and stop polling.
Table is being introduced here: https://github.com/datasette/datasette-extract/commit/050612c4b0cdab20ac1635e635193c0c9a804904
Relevant code: https://github.com/datasette/datasette-extract/blob/f49f58376dcf3fc936686750d3886621b31759b3/datasette_extract/templates/extract_progress.html#L80-L95
It's actually polling an in-memory structure already which should make errors available, so no need to check the table.
Errors now display like this:
If an error occurs it should display that error and stop polling.
Table is being introduced here: https://github.com/datasette/datasette-extract/commit/050612c4b0cdab20ac1635e635193c0c9a804904