Skip to content

Commit

Permalink
Make Sonar Happy
Browse files Browse the repository at this point in the history
  • Loading branch information
PulseBeat02 committed Nov 3, 2024
1 parent a5adfa8 commit 0623496
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ private String getPublicAddress(@UnderInitialization NettyHosting this) {
final boolean valid = IOUtils.checkValidUrl(check);
return valid ? address : "localhost";
} catch (final IOException | InterruptedException e) {
final Thread current = Thread.currentThread();
current.interrupt();
throw new AssertionError(e);
}
}
Expand Down

0 comments on commit 0623496

Please sign in to comment.