Skip to content

Commit

Permalink
fix webhook property validation
Browse files Browse the repository at this point in the history
 - parameterizing log with placeholder
  • Loading branch information
marcellusm2 committed Jun 12, 2024
1 parent c5d3838 commit fe9c8b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void postNotification(
executePost(request);
long duration = System.currentTimeMillis() - start;
if (duration > 100) {
logger.info("Round trip response time = " + (duration) + " millis");
logger.info("Round trip response time = {} millis", duration);
}
}

Expand All @@ -213,7 +213,7 @@ private String prepareUrl(
}
} else if (notifType == RestClientManager.NotificationType.WORKFLOW) {
if (statusNotifier != null
&& StringUtils.isNotBlank(statusNotifier.getEndpointTask())) {
&& StringUtils.isNotBlank(statusNotifier.getEndpointWorkflow())) {
urlEndPoint = statusNotifier.getEndpointWorkflow();
} else {
urlEndPoint = config.getEndpointWorkflow();
Expand Down

0 comments on commit fe9c8b5

Please sign in to comment.