exceptionfactory commented on code in PR #9652:
URL: https://github.com/apache/nifi/pull/9652#discussion_r1923034648
##########
nifi-extension-bundles/nifi-workday-bundle/nifi-workday-processors/src/main/java/org/apache/nifi/processors/workday/GetWorkdayReport.java:
##########
@@ -325,6 +326,8 @@ private FlowFile createResponseFlowFile(FlowFile flowfile,
ProcessSession sessio
responseFlowFile =
session.putAttribute(responseFlowFile, CoreAttributes.MIME_TYPE.key(),
mimeType.get());
}
}
+ } else {
+ getLogger().error("Unsuccessful API call. HTTP status code -
{}.", statusCode);
Review Comment:
Recommend removing the trailing `.` and changing this to a warning.
```suggestion
getLogger().warn("Workday API request failed: HTTP {}",
statusCode);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]