add back a way to trigger exceptions manually to cause a logging error
This commit is contained in:
@@ -18,6 +18,12 @@ struct
|
||||
let
|
||||
val time = Time.now ()
|
||||
|
||||
val () =
|
||||
case inputMsg of
|
||||
CHAR_EVENT #"~" =>
|
||||
ExceptionLogger.log (Fail "intentionally caused exception")
|
||||
| _ => ()
|
||||
|
||||
val () = ExceptionLogger.addCommand inputMsg
|
||||
|
||||
val app = AppUpdate.update (app, inputMsg, time)
|
||||
|
||||
Reference in New Issue
Block a user