use dummy mac address if anything goes wrong asking for the real one

This commit is contained in:
Michael McCandless 2015-12-06 06:10:43 -05:00 committed by mikemccand
parent b538343f61
commit fe5570dba8
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ public class MacAddressProvider {
byte[] address = null;
try {
address = getMacAddress();
} catch( SocketException se ) {
logger.warn("Unable to get mac address, will use a dummy address", se);
} catch (Throwable t) {
logger.warn("Unable to get mac address, will use a dummy address", t);
// address will be set below
}