fix(remote): answer malformed input with one line and keep secrets out of logs

This commit is contained in:
imSp4rky
2026-11-24 16:56:17 -07:00
parent 3e8c63b067
commit 7735c43061
13 changed files with 351 additions and 44 deletions
@@ -88,7 +88,7 @@ def test_to_dict_redacts_again_only_when_an_error_field_changes(monkeypatch):
calls = []
real = download_manager._redact_text
monkeypatch.setattr(download_manager, "_redact_text", lambda text, params: calls.append(text) or real(text, params))
monkeypatch.setattr(download_manager, "_redact_text", lambda text, *rest: calls.append(text) or real(text, *rest))
job = DownloadJob(
job_id="j1",
status=JobStatus.FAILED,