Improve DrRacket .plt installation functionality so that it prints
out the file it tried to unpack when it fails original commit: 980e957407e8e3072e7cf241c5cb55fb7ec175bf
This commit is contained in:
parent
6f0acc4b43
commit
c3f913fdef
|
@ -230,7 +230,13 @@
|
|||
(let/ec k
|
||||
(parameterize ([current-output-port output-port]
|
||||
[current-error-port error-port]
|
||||
[error-escape-handler (λ () (k (void)))]
|
||||
[error-escape-handler
|
||||
(let ([oh (error-escape-handler)]
|
||||
[ct (current-thread)])
|
||||
(λ ()
|
||||
(if (equal? (current-thread) ct)
|
||||
(k (void))
|
||||
(oh))))]
|
||||
[exit-handler
|
||||
(λ (x)
|
||||
(unless (equal? x 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user