mirror of https://git.48k.eu/ogclient
Capture all possible Python exceptions in the try/except block of every opengnsys operation. Create an error handling function to deduplicate code in the except block. The error handling function resets the ogRest state to IDLE and sends the corresponding 500 Internal Server Error. This *does not cover* every possible error. There are functions inside ogThread which contain code that may raise errors that are not covered by any try/except block. |
||
---|---|---|
cfg | ||
src | ||
tests | ||
.gitignore | ||
COPYING | ||
ogclient | ||
setup.py |