more useful message for a rare error
@@ -235,7 +235,7 @@ class IncomingMessageLoop:
continue
if messages_by_id:
- raise DaemonIndexingError(f'Action generator skipped some target_ids! {messages_by_id}')
+ raise DaemonIndexingError(f'Action generator skipped some target_ids! \n\ttarget_id_chunk:{target_id_chunk}\n\tleftover messages:{messages_by_id}')
logger.info('%sPrepared %d docs to be indexed in %.02fs', self.log_prefix, success_count, time.time() - start)
