Show more specific error message in pregap calculation.

This commit is contained in:
2020-02-04 00:16:56 +00:00
parent 6272289745
commit 4d0fab130e

View File

@@ -371,16 +371,19 @@ namespace DiscImageChef.Core.Devices.Dumping
if(retries == 10)
{
dumpLog?.WriteLine($"Could not get correct subchannel for sector {lba}");
updateStatus?.Invoke($"Could not get correct subchannel for sector {lba}");
if(sense)
{
dumpLog?.WriteLine($"Could not read subchannel for sector {lba}");
updateStatus?.Invoke($"Could not read subchannel for sector {lba}");
lba++;
forward = true;
continue;
}
dumpLog?.WriteLine($"Could not get correct subchannel for sector {lba}");
updateStatus?.Invoke($"Could not get correct subchannel for sector {lba}");
}
if(subBuf.All(b => b == 0))