fix the regular expression to matching the '*** Terminating app due to ...' error log