Fix the log exception method with NSException format.