GuglielmoTor commited on
Commit
57c9bbb
·
verified ·
1 Parent(s): 4192d57

Update services/report_data_handler.py

Browse files
Files changed (1) hide show
  1. services/report_data_handler.py +2 -0
services/report_data_handler.py CHANGED
@@ -374,6 +374,8 @@ def fetch_and_reconstruct_data_from_bubble(report_df: pd.DataFrame) -> Optional[
374
  # logger.error(f"Could not fetch latest report for org_urn {org_urn}. Error: {error}")
375
  # return None
376
 
 
 
377
  # Get the most recent report (assuming the first one is the latest)
378
  latest_report = report_df.iloc[0]
379
  report_id = latest_report.get('_id')
 
374
  # logger.error(f"Could not fetch latest report for org_urn {org_urn}. Error: {error}")
375
  # return None
376
 
377
+ logger.info(f"Starting data fetch and reconstruction for org_urn: {org_urn}")
378
+ try:
379
  # Get the most recent report (assuming the first one is the latest)
380
  latest_report = report_df.iloc[0]
381
  report_id = latest_report.get('_id')