fix a with-handlers to avoid catching break exns
This commit is contained in:
parent
007d18d145
commit
c7810ba2ae
|
@ -238,7 +238,7 @@
|
||||||
(define/public (locate-file name)
|
(define/public (locate-file name)
|
||||||
(let* ([normalized
|
(let* ([normalized
|
||||||
;; allow for the possibility of filenames that are urls
|
;; allow for the possibility of filenames that are urls
|
||||||
(with-handlers ([(λ (x) #t)
|
(with-handlers ([exn:fail?
|
||||||
(λ (x) name)])
|
(λ (x) name)])
|
||||||
(normal-case-path
|
(normal-case-path
|
||||||
(normalize-path name)))]
|
(normalize-path name)))]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user