If we take the right limit
$$\lim_{a\to-1}\int x^a dx=\lim_{a\to-1}\frac{x^{a+1}}{a+1}=+\infty$$
but on the other hand
$$\int\lim_{a\to-1} x^a dx=\ln x$$
I'm aware you can't just commute the limit and the integral, but I'd still like an explanation here. To me this is analogous to someone saying "The right limit of $1/x$ is $+\infty$ and the left one is $-\infty$ but $1/0$ is $7$ (or something)"
Is there an intuitive explanation to this break in continuity?