Fixed: Catch any exceptions thrown identifying books

This commit is contained in:
ta264 2022-01-25 21:02:33 +00:00
parent 9653f9bbca
commit 65681cad10

View file

@ -84,7 +84,15 @@ public List<LocalEdition> Identify(List<LocalBook> localTracks, IdentificationOv
i++;
_logger.ProgressInfo($"Identifying book {i}/{releases.Count}");
_logger.Debug($"Identifying book files:\n{localRelease.LocalBooks.Select(x => x.Path).ConcatToString("\n")}");
IdentifyRelease(localRelease, idOverrides, config);
try
{
IdentifyRelease(localRelease, idOverrides, config);
}
catch (Exception e)
{
_logger.Error(e, "Error identifying release");
}
}
watch.Stop();