summaryrefslogtreecommitdiffstats
path: root/src/utils/fs.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2023-03-09 16:04:18 +0100
committerJose M. Guisado <jguisado@soleta.eu>2023-03-10 11:26:46 +0100
commit97e753cbfdfbaaaa027ed1a161e0ad0bf4960ba5 (patch)
tree23e7d1110e9ee82653a5baf0f2fb67978f0cf2a6 /src/utils/fs.py
parent5b5ef607eca3e5f72b597f75dae7e415ce117a9f (diff)
ogRest: improve error logging when executing operationsv1.2.6
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.
Diffstat (limited to 'src/utils/fs.py')
0 files changed, 0 insertions, 0 deletions