v1.0.99: debug logging for save_run — will show why it fails
This commit is contained in:
@@ -355,8 +355,10 @@ def _finish_op(client, op_uid, instance_uid, svc_id, display_name, op_name, svc_
|
||||
params or {},
|
||||
op.get("stages", []),
|
||||
current_app.config.get("VERSION", ""))
|
||||
except Exception:
|
||||
pass # не ронять фоновый поток из-за БД
|
||||
except Exception as e:
|
||||
import traceback
|
||||
print(f"[DB] save_run FAILED: {e}", flush=True)
|
||||
traceback.print_exc()
|
||||
return
|
||||
time.sleep(5)
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user