mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-25 06:26:37 +00:00
Do not interfere with the exception handling
This commit is contained in:
parent
4bf975bf92
commit
3b5c776634
@ -332,7 +332,7 @@ def index_source_task(source_id):
|
|||||||
if published_dt is not None:
|
if published_dt is not None:
|
||||||
media.published = published_dt
|
media.published = published_dt
|
||||||
try:
|
try:
|
||||||
save_model(media)
|
media.save()
|
||||||
except IntegrityError as e:
|
except IntegrityError as e:
|
||||||
log.error(f'Index media failed: {source} / {media} with "{e}"')
|
log.error(f'Index media failed: {source} / {media} with "{e}"')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user