mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Use the exception function for traceback
This commit is contained in:
parent
2d85bcbe14
commit
8ac5b36eee
@ -1163,7 +1163,7 @@ class Media(models.Model):
|
||||
try:
|
||||
self.reduce_data(json.loads(self.metadata))
|
||||
except Exception as e:
|
||||
log.error(f'reduce_data: {e.msg}')
|
||||
log.exception('reduce_data: %s', e)
|
||||
pass
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user