Skip to content

Commit

Permalink
Merge pull request #344 from alexjoybc/feature/mode-debug
Browse files Browse the repository at this point in the history
api: printing request in debug mode
  • Loading branch information
alexjoybc authored Jun 16, 2020
2 parents 72e271b + f110758 commit 871ff54
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ public DpsDataIntoFigaroResponse dpsDataIntoFigaro(DpsDataIntoFigaroRequestBody
ordsRequestBody.setApplOrgContactPartyId(request.getApplOrgContactPartyId());

try {

logger.debug("attempting to create data in figaro");

logger.debug("payload: {}", ordsRequestBody.toString());

DpsDataIntoFigaroOrdsResponse response = this.documentApi.dpsDataIntoFigaroPost(ordsRequestBody);
return DpsDataIntoFigaroResponse.successResponse(response.getStatusCode(), response.getStatusMessage());

Expand Down

0 comments on commit 871ff54

Please sign in to comment.