A bunch of fprintf' ->
eprintf' conversions (and a few related things).
original commit: 17090fca4f19298f01d03fea419edb20f315d040
This commit is contained in:
parent
60dd49df61
commit
b32aff7e66
|
@ -28,8 +28,7 @@
|
||||||
(loop)))))))
|
(loop)))))))
|
||||||
(define (run) (for ([i (in-range rpt)]) (thunk)))
|
(define (run) (for ([i (in-range rpt)]) (thunk)))
|
||||||
(with-handlers ([void (lambda (e)
|
(with-handlers ([void (lambda (e)
|
||||||
(fprintf (current-error-port)
|
(eprintf "profiled thunk error: ~a\n"
|
||||||
"profiled thunk error: ~a\n"
|
|
||||||
(if (exn? e)
|
(if (exn? e)
|
||||||
(exn-message e)
|
(exn-message e)
|
||||||
(format "~e" e))))])
|
(format "~e" e))))])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user