Fix bluetooth unit tests (#8620)
Fixes: #8538 Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user