If $f\colon E\rightarrow \mathbb{R}$ is measurable function, and $m(E)<\infty$, then by Lusin's theorem, restriction of $f$ to a large closed set is continuous.
It is in the proof, I saw, that $m(E)<\infty$ is used along with Egorove's theorem. If we drop the condition $m(E)<\infty$, then the usual proof will not work; but I am not sure, whether there is other proof, which don't use the hypothesis $m(E)<\infty$, nor I could understand whether the condition $m(E)<\infty$ can't be dropped.
Question: Is it necessary to consider $m(E)<\infty$ in Lusin's theorem?