mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 22:45:21 +01:00
Refactor exception handling
This commit is contained in:
parent
a02c2ef6a4
commit
bc73844619
1 changed files with 2 additions and 4 deletions
|
@ -190,10 +190,8 @@ public class P2PSeedNodeSnapshot extends P2PSeedNodeSnapshotBase {
|
|||
try {
|
||||
report.put(OnionParser.prettyPrint(host) + ".relativeNumberOfMessages." + messageType,
|
||||
String.valueOf(((Counter) count).value() - referenceValues.get(messageType).value()));
|
||||
} catch (MalformedURLException ignore) {
|
||||
log.error("we should never got here");
|
||||
} catch (NullPointerException e) {
|
||||
// we got no reference-Value if we got here. strange.
|
||||
} catch (MalformedURLException | NullPointerException ignore) {
|
||||
log.error("we should never have gotten here", ignore);
|
||||
}
|
||||
});
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue