mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-18 07:20:30 +00:00
Add more debug logging
This commit is contained in:
@@ -107,7 +107,9 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
|
|||||||
}
|
}
|
||||||
} catch (FileNotFoundException) {
|
} catch (FileNotFoundException) {
|
||||||
throw;
|
throw;
|
||||||
} catch (IOException) {
|
} catch (IOException e) {
|
||||||
|
ASF.ArchiLogger.LogGenericDebuggingException(e);
|
||||||
|
|
||||||
await Task.Delay(SpinLockDelay, cancellationToken).ConfigureAwait(false);
|
await Task.Delay(SpinLockDelay, cancellationToken).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -168,7 +170,9 @@ internal sealed class CrossProcessFileBasedSemaphore : IAsyncDisposable, ICrossP
|
|||||||
}
|
}
|
||||||
} catch (FileNotFoundException) {
|
} catch (FileNotFoundException) {
|
||||||
throw;
|
throw;
|
||||||
} catch (IOException) {
|
} catch (IOException e) {
|
||||||
|
ASF.ArchiLogger.LogGenericDebuggingException(e);
|
||||||
|
|
||||||
if (millisecondsTimeout <= 0) {
|
if (millisecondsTimeout <= 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user