Fixes before Release (#2251)
* Removed console.logs * Removed console.log() from app * Fixed a bug where when a user adds their own favicon to their folder, the check could fail as the www. wasn't being stripped. * Don't fail series metadata update if we can't cleanup due to another update taking place (common with komf)
This commit is contained in:
parent
d7b97d2d93
commit
1895a83033
12 changed files with 13 additions and 83 deletions
|
@ -226,7 +226,15 @@ public class SeriesService : ISeriesService
|
|||
await _unitOfWork.CommitAsync();
|
||||
|
||||
// Trigger code to cleanup tags, collections, people, etc
|
||||
await _taskScheduler.CleanupDbEntries();
|
||||
try
|
||||
{
|
||||
await _taskScheduler.CleanupDbEntries();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "There was an issue cleaning up DB entries. This may happen if Komf is spamming updates. Nightly cleanup will work");
|
||||
}
|
||||
|
||||
|
||||
if (updateSeriesMetadataDto.CollectionTags == null) return true;
|
||||
foreach (var tag in updateSeriesMetadataDto.CollectionTags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue