Fixed variable scope bug on logException
Fixed variable scope bug on logException

guillaume-sainthillier/ByNight,guillaume-sainthillier/ByNight,guillaume-sainthillier/ByNight,guillaume-sainthillier/ByNight