diff options
author | Frederick Muriuki Muriithi | 2022-08-04 08:51:15 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-08-04 08:51:15 +0300 |
commit | 3da6848381b6103fbb58eeab8d7051cba0bded58 (patch) | |
tree | fd20aa2d8c73638b72a7667504582f0146aa182f /scripts | |
parent | 7bd9116019afe4aed369c5dfe69496abc6867381 (diff) | |
download | gn-uploader-3da6848381b6103fbb58eeab8d7051cba0bded58.tar.gz |
Implement data insertion
- Hook up external data insertion script to webserver code
- Provide rudimentary status indication
- Generalise some job creation details
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/worker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/worker.py b/scripts/worker.py index 879442a..03751d2 100644 --- a/scripts/worker.py +++ b/scripts/worker.py @@ -54,7 +54,7 @@ def run_job(job, rconn): os.remove(stderrpath) return process.poll() - except Exception as exc: + except Exception as exc:# pylint: disable=[broad-except,unused-variable] update_stdout_stderr( traceback.format_exc().encode("utf-8"), "stderr", rconn, job_id) print(traceback.format_exc(), file=sys.stderr) |