log an exception if search-thread encounters a failure
This commit is contained in:
@@ -7,6 +7,7 @@ struct
|
||||
val (buffer, dfa, time) = Mailbox.recv SearchMailbox.mailbox
|
||||
val iterator = LineGap.makeStringIterator buffer
|
||||
val searchList = SearchList.build (iterator, dfa)
|
||||
handle e => ExceptionLogger.log e
|
||||
val msg = InputMsg.WITH_SEARCH_LIST (searchList, time)
|
||||
val () = InputMailbox.append msg
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user