fix e.printStackTrace() by logging instead

This commit is contained in:
cpfeiffer 2016-09-25 23:05:27 +02:00
parent 3259efbd10
commit 0341c7f61f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
};