Skip to content

Commit 5548c3e

Browse files
committed
DTSPB-4896 update log with id
1 parent 9253dd7 commit 5548c3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/uk/gov/hmcts/probate/core/service/BusinessServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ public String getPinNumber(PhonePin phonePin, String sessionId, Boolean isBiling
330330
}
331331

332332
private ProbateCaseDetails getProbateCaseDetails(String caseId) {
333+
log.info("BusinessServiceImpl.getProbateCaseDetails id: {}", caseId);
333334
String serviceAuthorisation = securityUtils.getServiceAuthorisation();
334335
String authorisation = securityUtils.getAuthorisation();
335336
return submitServiceApi.getCaseById(authorisation, serviceAuthorisation, caseId);

src/main/java/uk/gov/hmcts/probate/core/service/SubmitServiceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public Form submit(String identifier, Form form) {
182182
public Form update(String identifier, ProbateType probateType, PaymentDto paymentDto) {
183183
String authorisation = securityUtils.getAuthorisation();
184184
String serviceAuthorisation = securityUtils.getServiceAuthorisation();
185-
log.info("Get existing case from submit service");
185+
log.info("Get existing case from submit service identifier {} ", identifier);
186186
ProbateCaseDetails existingCase = submitServiceApi.getCaseById(authorisation,
187187
serviceAuthorisation, identifier);
188188

@@ -233,7 +233,7 @@ public Form updatePayments(String identifier, Form form) {
233233
"Cannot update case with no payments, there needs to be at least one payment");
234234
String authorisation = securityUtils.getAuthorisation();
235235
String serviceAuthorisation = securityUtils.getServiceAuthorisation();
236-
log.info("Get existing case from submit service");
236+
log.info("Get existing case from submit service identifier {} ", identifier);
237237
ProbateCaseDetails existingCase = submitServiceApi.getCaseById(authorisation,
238238
serviceAuthorisation, identifier);
239239
log.info("Got existing case now set payment on this case");

0 commit comments

Comments
 (0)