Skip to content

Commit 7710498

Browse files
mflattrmculpepper
authored andcommitted
bug report GUI: guard against `raco pkg show' errors
Various things can go wrong with `raco pkg show', including permission errors or lock conflicts. Merge to v5.3.2 (cherry picked from commit d2ce3f7)
1 parent c186269 commit 7710498

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

collects/help/private/bug-report-controls.rkt

+3-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,9 @@
446446

447447
(define planet2-info-sp (open-output-string))
448448
(parameterize ([current-output-port planet2-info-sp])
449-
(planet2:show))
449+
(with-handlers ([exn:fail? (lambda (exn)
450+
(printf "ERROR:\n~a" (exn-message exn)))])
451+
(planet2:show)))
450452
(send (send planet2-info get-editor)
451453
insert
452454
(get-output-string planet2-info-sp))

0 commit comments

Comments
 (0)