fix drracket's stacktrace handling in the case that something strange
shows up as the source field in an exception record
This commit is contained in:
parent
e063b654fa
commit
8f0c0f5405
|
@ -1002,7 +1002,8 @@ profile todo:
|
|||
(values #f void)))]
|
||||
[(is-a? file editor<%>)
|
||||
(values file void)]
|
||||
[else (error 'insert-context "unknown file spec ~e" file)])])
|
||||
[else
|
||||
(values #f void)])])
|
||||
(when from-text
|
||||
(let* ([finish (+ start span -1)]
|
||||
[context-text (copy/highlight-text from-text start finish)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user