More robust exception reporting