Source:
<code>protected boolean processSingleACHUpdate(PaymentWorksVendorUpdatesDTO vendorUpdate, PaymentWorksVendorUpdateResults resultsDTO) { boolean routed; PaymentWorksVendor paymentWorksVendor = getPaymentWorksVendorService().savePaymentWorksVendorRecord( vendorUpdate, PaymentWorksConstants.ProcessStatus.ACH_UPDATE_COMPLETE, PaymentWorksConstants.TransactionType.ACH_UPDATE); try { if (ObjectUtils.isNotNull(vendorUpdate.getField_changes().getField_changes())) { routed = getPaymentWorksKfsService().directAchEdit(vendorUpdate, paymentWorksVendor.getVendorNumberList()); } else { throw new ValidationException("No field changes provided by PaymentWorks"); } } catch (Exception e) { routed = false; resultsDTO.setHasErrors(true); GlobalVariables.getMessageMap().clearErrorMessages(); GlobalVariables.getMessageMap().clearErrorPath(); <START> LOG.error("processSingleACHUpdate, There was error processing vendor update with ID of " + vendorUpdate.getId() + " because " + e.getMessage()); <END> } if (routed) { updateVendorRequestStatus(paymentWorksVendor, PaymentWorksConstants.PaymentWorksUpdateStatus.PROCESSED, PaymentWorksConstants.PaymentWorksStatusText.PROCESSED, PaymentWorksConstants.ProcessStatus.ACH_UPDATE_COMPLETE, routed); } else { updateVendorRequestStatus(paymentWorksVendor, PaymentWorksConstants.PaymentWorksUpdateStatus.PROCESSED, PaymentWorksConstants.PaymentWorksStatusText.PROCESSED, PaymentWorksConstants.ProcessStatus.ACH_UPDATE_REJECTED, routed); } LOG.debug("processSingleACHUpdate, returning " + routed); return routed; }</code><technical_language>If log full stack trace exception message, pass exception LOG.error method a argument</technical_language>

Target:
protected boolean processSingleACHUpdate(PaymentWorksVendorUpdatesDTO vendorUpdate, PaymentWorksVendorUpdateResults resultsDTO) { boolean routed; PaymentWorksVendor paymentWorksVendor = getPaymentWorksVendorService().savePaymentWorksVendorRecord( vendorUpdate, PaymentWorksConstants.ProcessStatus.ACH_UPDATE_COMPLETE, PaymentWorksConstants.TransactionType.ACH_UPDATE); try { if (ObjectUtils.isNotNull(vendorUpdate.getField_changes().getField_changes())) { routed = getPaymentWorksKfsService().directAchEdit(vendorUpdate, paymentWorksVendor.getVendorNumberList()); } else { throw new ValidationException("No field changes provided by PaymentWorks"); } } catch (Exception e) { routed = false; resultsDTO.setHasErrors(true); GlobalVariables.getMessageMap().clearErrorMessages(); GlobalVariables.getMessageMap().clearErrorPath(); LOG.error("processSingleACHUpdate, There was error processing vendor update with ID of " + vendorUpdate.getId() + " because " + e.getMessage(), e); } if (routed) { updateVendorRequestStatus(paymentWorksVendor, PaymentWorksConstants.PaymentWorksUpdateStatus.PROCESSED, PaymentWorksConstants.PaymentWorksStatusText.PROCESSED, PaymentWorksConstants.ProcessStatus.ACH_UPDATE_COMPLETE, routed); } else { updateVendorRequestStatus(paymentWorksVendor, PaymentWorksConstants.PaymentWorksUpdateStatus.PROCESSED, PaymentWorksConstants.PaymentWorksStatusText.PROCESSED, PaymentWorksConstants.ProcessStatus.ACH_UPDATE_REJECTED, routed); } LOG.debug("processSingleACHUpdate, returning " + routed); return routed; }