instrumenting surveyexceptions for debugging.