I have this contour, to help with evaluating $\int_{\gamma_\epsilon} \frac{e^{iz}-1}{z} dz $ over:

I have $\frac{e^{iz}-1}{x} \to\frac{iz}{z} \to i$.
I have trouble integrating: $\int_{\gamma_\epsilon} i dz$.I set $z=\epsilon e^{i\theta} dz = i \epsilon e^{i\theta}$,soI get : $\int_{0}^{\pi} i i \epsilon e^{i \theta} d\theta = 0$ as $\epsilon \to 0$, which I think is wrong.
What am I doing wrong?