The indefinite integral effected in this PF
post (from 2010) is not the correct expression for the Rutherford differential cross section.
Here is the correct expression in a slightly different notation (so I'll try to be careful to define all the symbols).
The expression for the differential cross section for charged point particles of charge ##Z_1## and ##Z_2## interacting by the Coulomb interaction ##V_c(r)=\frac{Z_1 Z_2 e^2}{r}## as typically derived (see p. 438 of Sakurai,
Modern Quantum Mechanics) is:
$$\frac{d\sigma}{d\Omega} = \frac{\gamma^2}{k^2\, 4\sin^4(\theta/2)},$$ where ##\theta## is the scattering angle in the center-of-mass of the interacting particles. Here, ##\gamma k = Z_1 Z_2 e^2 m, m^{-1} = m_1^{-1} + m_2^{-1}, k = \sqrt{ 2 m E}##, where ##E## is the center-of-mass energy and we recognize ##m## as the reduced mass of the interacting particles. (We are employing
natural units where ##\hbar = 1 = c##.)
Note that the expression in the post linked above has ##\sin\theta## compared to ##\sin(\theta/2)## here.
We define the following integral, indefinite with respect to the limits on the scattering angle ##\theta## but definite with respect to the azimuthal angle ##\phi##:
$$\sigma_{\text{int}}(\theta, E) \equiv \int d\theta\sin\theta \, \int_0^{2\pi} d\phi\, \frac{d\sigma}{d\Omega}.$$ (Note that ##d\Omega = d\theta\sin\theta\,d\phi##.) Substitution of the expression for the differential cross section above into this definition and effecting the trivial integral over ##\phi## gives the expression:
$$\sigma_{\text{int}}(\theta, E) = \frac{\pi \gamma^2}{2 k^2} \int d\theta\, \frac{\sin\theta}{\sin^4(\theta/2)}.$$ Recognizing ##\sin x = 2 \sin(x/2)\cos(x/2)##, making a substitution ##u = \sin(\theta/2)## gives the elementary integral
$$\int d\theta\, \frac{\sin\theta}{\sin^4(\theta/2)} = 4 \int du\, \frac{1}{u^3} = -2 u^{-2} + C = \frac{-2}{\sin^2(\theta/2)} + C,$$ where ##C## is a constant that depends on the (neglected) limits of integration.
Clearly, this quantity is divergent in the limit ##\theta \to 0##, which the post linked above correctly states.
Note, however, that user
tupos points out -- also correctly -- that the exact wave function for the Coulomb Schrödinger equation is finite at all finite ranges ##r## between the scattering particles. The origin of the singularity in the Rutherford expression for the differential cross section is the application of the asymptotic form for the confluent hypergeometric functions ##_1F_1(-i/k,1,ik \eta)## where ##\eta \equiv r - z## (see p. 566 of Landau & Lifshitz
Quantum Mechanics; the asymptotic form is given op. cit. p.662, Eq.(d.16).)