I am trying to show that
$$ \lim_{R\to\infty}\int_{C_R} \frac{e^{iz}}{z} dz=0,\quad C_R(t)=Re^{it},\ \ t\in [0,\pi]. $$
I know we can do the following
$$\left| \int \frac{e^{iz}}{z} dz \right| \leq \frac{1}{R} \int \lvert e^{iz} \rvert \lvert dz \rvert$$
the integral is bounded and as $R$ goes to infinity it is zero. My question is what if I do the following
$$\left| \int_{0}^{\pi} \frac{e^{iR e^{it}}}{Re^{it}}\dot iRe^{it} dt \right|\leq \int_0^{\pi} |e^{-R\sin t} | dt$$
which is not zero as $R$ goes to infinity!