Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,7 @@ public static boolean isRegulatoryApp(String clientId) throws FinancialServicesE
return Boolean.parseBoolean(regulatoryProperty.toString());
} else {
if (log.isDebugEnabled()) {
log.debug("Regulatory property not found in service provider metadata for clientId: "
+ clientId + ". Hence treating it as a non-regulatory application.");
log.debug("Regulatory property missing. Treating as non-regulatory application.");
Comment on lines 381 to +382
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Log Improvement Suggestion No: 1

Suggested change
if (log.isDebugEnabled()) {
log.debug("Regulatory property not found in service provider metadata for clientId: "
+ clientId + ". Hence treating it as a non-regulatory application.");
log.debug("Regulatory property missing. Treating as non-regulatory application.");
if (log.isDebugEnabled()) {
log.debug("Regulatory property missing for clientId: {} - treating as non-regulatory application.", clientId);
}

}
return false;
}
Expand Down
Loading