The following is the definition for continuity at $x_0$
$$\forall \quad\varepsilon > 0\ \quad \exists \delta > 0\ \quad \text{s.t. } \quad |x - x_0| < \delta \implies |f(x) - f(x_0)| < \varepsilon $$
But suppose that that $f(x_0)$ is undefined, i.e. there is a "hole" at $f(x_0)$, the definition still holds for continuity since it does not care about what is happening at $f(x_0)$, only around it. Isn't this a problem?