Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging the error instead of throwing as exception #66

Merged
merged 2 commits into from
Apr 12, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
using log function
  • Loading branch information
Seenivasa Ragavan authored and Seenivasa Ragavan committed Apr 12, 2021
commit 90b3f1240f9c8a81691d21a2e661f188018cc738
Original file line number Diff line number Diff line change
@@ -240,7 +240,7 @@ private StringEntity createPostBody(ReplicationTransaction tx, String domain, St
if (requestedJson.size() > 0) {
json.add("objects", requestedJson);
} else {
currentReplicationLog.info("No paths to purge");
logReplicationEventInfoStatement("No paths to purge");
}
return new StringEntity(json.toString(), CharEncoding.ISO_8859_1);
}