Fail early if a package lookup fails when loading a revision
I think this might be happening when packages are filtered out as duplicates (by name and version), but then a reference to a duplicate occurs somewhere, like in a lint warning.
This commit is contained in:
parent
bf25a8db02
commit
a66cbd41f9
1 changed files with 7 additions and 1 deletions
|
|
@ -896,7 +896,13 @@ WHERE job_id = $1"
|
|||
packages
|
||||
package-ids))))
|
||||
(lambda (inferior-id)
|
||||
(hashq-ref lookup-table inferior-id)))))
|
||||
(or
|
||||
(hashq-ref lookup-table inferior-id)
|
||||
(error
|
||||
(simple-format
|
||||
#f
|
||||
"error: inferior-package-id->package-database-id: ~A missing\n"
|
||||
inferior-id)))))))
|
||||
|
||||
(simple-format
|
||||
#t "debug: finished loading information from inferior\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue