Evaluate the integral $$\int_C f(x)dx \,$$ where C is the unit circle centered at C the origin with f(z) = $$\frac {e^{iz}}{z-a}\,$$ for 0 < a < 1.
I'm in complex and we are using the idea of Cauchy's theorem to evaluate the integrals. I get $$\int_C \frac{1}{z-a}dz+ \int_C \frac{iz}{z-a}dz- \int_C \frac{z^2}{2(z-a)}dz + ...\,$$ but I'm not sure if the answer is 2$\pi$i or if the following term contributes. I'm thrown off by the $z-a$ in the denominator.
By Cauchy's integral formula, that integral is equal to $2\pi ie^{ia}$.