mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 23:37:58 +10:00
fix final_status uneeded
This commit is contained in:
@@ -252,8 +252,6 @@ class Worker:
|
|||||||
'duration': elapsed,
|
'duration': elapsed,
|
||||||
'status': 'success' if success else 'failed',
|
'status': 'success' if success else 'failed',
|
||||||
}
|
}
|
||||||
if hasattr(obj, 'status'):
|
|
||||||
complete_metadata['final_status'] = str(obj.status)
|
|
||||||
|
|
||||||
log_worker_event(
|
log_worker_event(
|
||||||
worker_type=worker_type_name,
|
worker_type=worker_type_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user