diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/DiscoveryActivity.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/DiscoveryActivity.java index 18b70c76..75f09f5d 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/DiscoveryActivity.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/DiscoveryActivity.java @@ -120,7 +120,7 @@ public class DiscoveryActivity extends GBActivity implements AdapterView.OnItemC //logMessageContent(result.getScanRecord().getBytes()); handleDeviceFound(result.getDevice(), (short) result.getRssi()); } catch (NullPointerException e) { - e.printStackTrace(); + LOG.warn("Error handling scan result", e); } } };