Display backtraces when exceptions occur for fetching builds
This commit is contained in:
parent
e273e22042
commit
83f68a8afa
1 changed files with 10 additions and 1 deletions
|
|
@ -143,7 +143,16 @@ initial connection on which HTTP requests are sent."
|
||||||
(simple-format #t "\nQuerying ~A\n" url)
|
(simple-format #t "\nQuerying ~A\n" url)
|
||||||
(catch #t
|
(catch #t
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(query-build-server conn id url revision-commits outputs))
|
(with-exception-handler
|
||||||
|
(lambda (exn)
|
||||||
|
(backtrace)
|
||||||
|
(raise-exception exn))
|
||||||
|
(lambda ()
|
||||||
|
(query-build-server conn
|
||||||
|
id
|
||||||
|
url
|
||||||
|
revision-commits
|
||||||
|
outputs))))
|
||||||
(lambda (key . args)
|
(lambda (key . args)
|
||||||
(simple-format
|
(simple-format
|
||||||
(current-error-port)
|
(current-error-port)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue