Minor change to LogUtils to log exception.