Automatic issue reporting on exceptions