Fix bluetooth unit tests (#8620)

Fixes: #8538

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
This commit is contained in:
Connor Petty
2020-09-30 22:53:48 -07:00
committed by GitHub
parent fbafc365da
commit 515658de7f
3 changed files with 9 additions and 5 deletions

View File

@@ -267,6 +267,10 @@ public class BluetoothDiscoveryService extends AbstractDiscoveryService implemen
future = future.thenApply(result -> {
publishDiscoveryResult(adapter, result);
return result;
}).whenComplete((r, t) -> {
if (t != null) {
logger.warn("Error occured during discovery of {}", device.getAddress(), t);
}
});
// now save this snapshot for later