fix: harden postprocessing and recovery boundaries
Preserve local CPA success while surfacing hotload-copy warnings, retry transient DuckMail/YYDS message details, serialize pending recovery on target files, isolate optional NSFW failures, and restore main-module constant forwarding.
This commit is contained in:
@@ -176,6 +176,8 @@ def export_cpa_xai_for_account(email, password, page=None, cookies=None, sso=Non
|
||||
log("[cpa] hotload copy -> %s" % target)
|
||||
except Exception as exc:
|
||||
result["cpa_copy_error"] = str(exc)
|
||||
result["warning"] = True
|
||||
result["partial"] = True
|
||||
log("[cpa] hotload copy failed: %s" % exc)
|
||||
if not result.get("ok"):
|
||||
fail_path = settings.auth_dir / "cpa_auth_failed.txt"
|
||||
|
||||
Reference in New Issue
Block a user