adjust DMdA languages so they do the same error rewriting that the HtDP
languages are doing. This seems to make the error messages in DMdA behave like they did in 5.2.1 (and so I'm pushing this to see how DrDr reacts)
This commit is contained in:
parent
dda1ee74de
commit
44161d73c8
|
@ -25,6 +25,7 @@
|
|||
lang/debugger-language-interface
|
||||
lang/run-teaching-program
|
||||
lang/private/continuation-mark-key
|
||||
lang/private/rewrite-error-message
|
||||
|
||||
(only-in test-engine/scheme-gui make-formatter)
|
||||
test-engine/scheme-tests
|
||||
|
@ -1187,7 +1188,7 @@
|
|||
(define (teaching-languages-error-display-handler msg exn)
|
||||
|
||||
(if (exn? exn)
|
||||
(display (exn-message exn) (current-error-port))
|
||||
(display (get-rewriten-error-message exn) (current-error-port))
|
||||
(eprintf "uncaught exception: ~e" exn))
|
||||
(eprintf "\n")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user