mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
fix(job-key): report a non-string url in --audit instead of a traceback (#634)
* fix(job-key): report a non-string url in --audit instead of a traceback A numeric, list or object url crashed the duplicate-URL pass with an AttributeError on .rstrip. Report it with a one-line error naming the key, as the other malformed-state branches do. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * changelog: place the #634 entry under [Unreleased] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: Mads Lorentzen <madslorentzen_17@hotmail.com>
This commit is contained in:
3 files changed
+17
No files matched your search
@@ -72,6 +72,11 @@ per-file diff commands.
|
||||
`--country`. Results, stdout and the exit code are unchanged, so a bucket freehire adds later
|
||||
still works.
|
||||
|
||||
- **`job_key.py --audit` reports an entry whose `url` is not a string** (#634, `tools/job_key.py`,
|
||||
`tests/test_job_key.py`) - a numeric, list or object `url` crashed the duplicate-URL pass with an
|
||||
`AttributeError` traceback on `.rstrip`, although the audit already reports other malformed state
|
||||
with a one-line error and exit 1. It now names the offending key the same way.
|
||||
|
||||
## [1.7.3] - 2026-10-19
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user