Remove secret information from pkg error messages
This commit is contained in:
parent
abc8b301d0
commit
6c4650ebbd
|
@ -98,7 +98,9 @@
|
||||||
(unless api-bs
|
(unless api-bs
|
||||||
(error 'package-url->checksum
|
(error 'package-url->checksum
|
||||||
"could not connect to GitHub\n URL: ~a"
|
"could not connect to GitHub\n URL: ~a"
|
||||||
(url->string api-u)))
|
(url->string
|
||||||
|
(struct-copy url api-u
|
||||||
|
[query query]))))
|
||||||
(define branches
|
(define branches
|
||||||
(read-json (open-input-bytes api-bs)))
|
(read-json (open-input-bytes api-bs)))
|
||||||
(unless (and (list? branches)
|
(unless (and (list? branches)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user