Check for exception on sample application