Skip to content

Commit

Permalink
Fix false formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab committed Jul 23, 2024
1 parent dc13510 commit 30899ba
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/freenet/node/updater/NodeUpdater.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,23 @@ public abstract class NodeUpdater implements ClientGetCallback, USKCallback, Req
}

void start() {
try {
subscribe();
} catch(MalformedURLException e) {
manager.blow("The auto-update URI isn't valid and can't be used", true);
}
try {
subscribe();
} catch (MalformedURLException e) {
manager.blow("The auto-update URI isn't valid and can't be used", true);
}
}

private void subscribe() throws MalformedURLException {
private void subscribe() throws MalformedURLException {
try {
// because of UoM, this version is actually worth having as well
USK myUsk = USK.create(URI.setSuggestedEdition(currentVersion));
core.getUskManager().subscribe(myUsk, this, true, getRequestClient());
} catch(MalformedURLException e) {
} catch (MalformedURLException e) {
Logger.error(this, "The auto-update URI isn't valid and can't be used");
throw e;
throw e;
}
}
}

protected void maybeProcessOldBlob() {
File oldBlob = getBlobFile(currentVersion);
Expand Down

0 comments on commit 30899ba

Please sign in to comment.