mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
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());
|
||||
handleDeviceFound(result.getDevice(), (short) result.getRssi());
|
||||
} catch (NullPointerException e) {
|
||||
e.printStackTrace();
|
||||
LOG.warn("Error handling scan result", e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user