fix a with-handlers to avoid catching break exns

This commit is contained in:
Robby Findler 2013-03-05 22:21:41 -06:00
parent 007d18d145
commit c7810ba2ae

View File

@ -238,7 +238,7 @@
(define/public (locate-file name)
(let* ([normalized
;; allow for the possibility of filenames that are urls
(with-handlers ([(λ (x) #t)
(with-handlers ([exn:fail?
(λ (x) name)])
(normal-case-path
(normalize-path name)))]