The sample code refers to `e.message` when `evt.message` was intended. This causes a run-time exception because `e` is undefined.