We know that $\sum_{n=1}^\infty \frac{z^n}{n}$ converges if $|z|=1$ except when $z=1$. From this it is simple to construct another series that converges whenever $z$ is a $m$th root of unity, where $m < M$ for some $M$, with $\sum_{m=1}^M \sum_{n=1}^\infty \frac{z^{mn}}{n}$.
Is it possible to construct a sum that diverges whenever $z$ is any root of unity? I suspect that $\sum_{m=1}^\infty \sum_{n=1}^\infty \frac{z^{mn}}{n}$ is not actually a convergent series and thus naively taking the limit of the above series will not work.
Update: How about the series $\sum_{m=1}^\infty \sum_{n=1}^\infty \frac{z^{mn}}{nm}$? This one diverges for $\arg z/2\pi$ irrational, but I expect that it should converge otherwise. If not, how about $m!$ in the denominator?