Report target name on exception during build