Here is my problem: $$\begin{align} &\lim_{\beta\to 0^-} \left(-\ln|\beta| + e^{\beta}\right) + \lim_{\beta\to 0^+} \left(\ln|\beta|\right) \\ =& \lim_{\beta\to 0} \left(\ln|\beta| - \ln|\beta| + e^{\beta}\right) \\ =& \lim_{\beta\to 0} e^{\beta} = 1 \end{align}$$
First of all sorry i can't give the whole context since will consume a lot of time to type it by hands. So, in short i'm evaluating the integral using cauchy principal value and came up with this.
Is it legal to do that limit? Since i have an absolute value and if i split the first limit, the first term will be the same as the second limit and for convenience i change the limit goes to 0 (both sides)? Please help me to understand about limit. Or maybe if it's illegal you can tell me why. Thanks in advance!