improving loggin
This commit is contained in:
@@ -110,6 +110,7 @@ public class TransactonController {
|
||||
.waitForState(transaction.getWorkflowId(), new String[]{"done", "failed"},
|
||||
15000, 50);
|
||||
Object response = future.get();
|
||||
LogUtils.logPrettyJson(logger, "outgoing transaction", response);
|
||||
|
||||
return ResponseEntity.ok(response);
|
||||
}
|
||||
@@ -137,6 +138,7 @@ public class TransactonController {
|
||||
.waitForState(transaction.getWorkflowId(), new String[]{"purchaseInvoice", "failed"},
|
||||
15000, 50);
|
||||
Object response = future.get();
|
||||
LogUtils.logPrettyJson(logger, "outgoing transaction", response);
|
||||
|
||||
return ResponseEntity.ok(response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user