Actually display checksum-error
This commit is contained in:
parent
fe20d9cccd
commit
1e3ef69519
18
src/site.rkt
18
src/site.rkt
|
@ -843,14 +843,16 @@
|
||||||
,(utc->string (/ (next-fetch-deadline) 1000)) ".")
|
,(utc->string (/ (next-fetch-deadline) 1000)) ".")
|
||||||
"")
|
"")
|
||||||
|
|
||||||
(if (package-checksum-error pkg)
|
(match (package-checksum-error pkg)
|
||||||
`(div ((class "alert alert-danger")
|
[#f ""]
|
||||||
(role "alert"))
|
[err
|
||||||
(span ((class "label label-danger"))
|
`(div ((class "alert alert-danger")
|
||||||
"Checksum error")
|
(role "alert"))
|
||||||
" The package checksum does not match"
|
(p (span ((class "label label-danger"))
|
||||||
" the package source code.")
|
"Checksum error")
|
||||||
"")
|
" An error occurred while updating"
|
||||||
|
" the package checksum.")
|
||||||
|
(pre ,err))])
|
||||||
|
|
||||||
`(table ((class "package-details"))
|
`(table ((class "package-details"))
|
||||||
(tr (th "Authors")
|
(tr (th "Authors")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user