mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Improve error handling in the query-build-servers script
This commit is contained in:
parent
2c495fe8f6
commit
a2387c12d8
1 changed files with 8 additions and 1 deletions
|
@ -132,7 +132,14 @@ initial connection on which HTTP requests are sent."
|
|||
(member id build-server-ids))
|
||||
(when lookup-all-derivations?
|
||||
(simple-format #t "\nQuerying ~A\n" url)
|
||||
(query-build-server conn id url revision-commits)))))
|
||||
(catch #t
|
||||
(lambda ()
|
||||
(query-build-server conn id url revision-commits))
|
||||
(lambda (key . args)
|
||||
(simple-format
|
||||
(current-error-port)
|
||||
"exception in query-build-server: ~A ~A\n"
|
||||
key args)))))))
|
||||
build-servers)))))
|
||||
|
||||
(define (query-build-server conn id url revision-commits)
|
||||
|
|
Loading…
Reference in a new issue