#12 fix : Log the exception