Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to recover from an UnknownHostException. If getLocalHost()
throws an exception, attempt to provide the IP address instead. This is useful on those systems without a hostname explicitly defined.
- Loading branch information
1 parent
97922ee
commit a24b423
Showing
1 changed file
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters