Skip to content

Commit 1a13cc8

Browse files
committed
log only the positive branch
1 parent 91cd2c4 commit 1a13cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/goide/UpdateComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ public void run() {
9292
public Object process(@NotNull HttpRequests.Request request) throws IOException {
9393
try {
9494
JDOMUtil.load(request.getReader());
95+
LOG.info((request.isSuccessful() ? "Successful" : "Unsuccessful") + " update: " + url);
9596
}
9697
catch (JDOMException e) {
9798
LOG.warn(e);
9899
}
99-
LOG.info((request.isSuccessful() ? "Successful" : "Unsuccessful") + " update: " + url);
100100
return null;
101101
}
102102
}

0 commit comments

Comments
 (0)