mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-22 12:56:29 +02:00
Version 3.0.345
This commit is contained in:
parent
4476717f26
commit
48667b2660
17 changed files with 154 additions and 96 deletions
|
@ -131,7 +131,7 @@ namespace TINK.Services.BluetoothLock.BLE
|
|||
}
|
||||
catch (System.Exception exception)
|
||||
{
|
||||
Log.ForContext<LockItByScanServiceBase>().Error("Can not connect to device by name. {Exception}", exception);
|
||||
Log.ForContext<LockItByScanServiceBase>().Error("Can not connect to device by name. Name: {deviceName}, rssi: {deviceRssi}, state: {state}. {Exception}", bleDevice?.Name, bleDevice?.Rssi, bleDevice?.State, exception);
|
||||
if (exception is TaskCanceledException)
|
||||
{
|
||||
// A timeout occurred.
|
||||
|
@ -208,7 +208,7 @@ namespace TINK.Services.BluetoothLock.BLE
|
|||
}
|
||||
catch (System.Exception exception)
|
||||
{
|
||||
Log.ForContext<LockItByScanServiceBase>().Error("Can not connect to lock. {Exception}", exception);
|
||||
Log.ForContext<LockItByScanServiceBase>().Error("Can not connect to lock. Name: {deviceName}, rssi: {deviceRssi}, state: {state}. {Exception}", device?.Name, device?.Rssi, device?.State, exception);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue