raco setup: better error reporting for failure during doc move

This commit is contained in:
Matthew Flatt 2014-11-24 16:23:36 -07:00
parent 6096d567af
commit 3f44372e25

View File

@ -1254,7 +1254,8 @@
;; Maybe further actions are appropriate, but
;; overall clean-up and repair is intended to be
;; the job of the regular documentation builder.
(log-error (exn-message exn)))])
(log-error (format "error moving documentation: ~a"
(exn-message exn))))])
(define dest-dir (doc-dest-dir doc))
(define move? (and src-dir
(not (equal? (file-or-directory-identity src-dir)