fix e.printStackTrace() by logging instead
This commit is contained in:
parent
3259efbd10
commit
0341c7f61f
|
@ -120,7 +120,7 @@ public class DiscoveryActivity extends GBActivity implements AdapterView.OnItemC
|
||||||
//logMessageContent(result.getScanRecord().getBytes());
|
//logMessageContent(result.getScanRecord().getBytes());
|
||||||
handleDeviceFound(result.getDevice(), (short) result.getRssi());
|
handleDeviceFound(result.getDevice(), (short) result.getRssi());
|
||||||
} catch (NullPointerException e) {
|
} catch (NullPointerException e) {
|
||||||
e.printStackTrace();
|
LOG.warn("Error handling scan result", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue