openflexure-microscope-server/openflexure_microscope
Richard 3d33218072 Move error handling for taskSubmitter
taskSubmitter ended up in a confused state if the initial POST request
encountered an error.
I've updated `startPolling` to return a Promise, and moved the
error handling code to the top level.

This doesn't change anything for the case where we get a non-error
response to the POST request, but means that e.g. 400 errors
get caught and displayed properly.
2021-08-26 23:12:47 +01:00
..
api Move error handling for taskSubmitter 2021-08-26 23:12:47 +01:00
camera Watch for broken frames using JPEG end bytes, and log error 2020-12-08 18:07:05 +00:00
captures Static type analysis 2020-11-30 13:36:45 +00:00
devel Removed old JSONResponse class 2020-11-12 13:50:48 +00:00
rescue Removed unused import 2021-01-07 10:09:43 +00:00
stage Formatting fixes 2021-03-31 09:40:31 +01:00
__init__.py Started basic rescue script 2020-03-03 16:13:21 +00:00
config.py Reverted logging style 2020-11-12 15:45:58 +00:00
json.py Removed deprecated np.float 2021-03-30 17:40:19 +01:00
microscope.py linting and typing fixes 2021-07-19 20:29:13 +01:00
paths.py Static type analysis 2020-11-30 13:36:45 +00:00
utilities.py Minor linting improvements 2021-04-27 11:17:11 +01:00