Plot[ (t^2+t-2)/Abs[t-1], {t, 0, 2}]

Limit[ (t^2+t-2)/(t-1), t -> 1 ]