Peter Mutwiri commited on
Commit ·
c528e19
1
Parent(s): 7279bde
fixed indentation on mapper
Browse files- app/mapper.py +2 -2
app/mapper.py
CHANGED
|
@@ -500,8 +500,8 @@ def canonify_df(org_id: str, source_id: str, hours_window: int = 24) -> tuple[pd
|
|
| 500 |
"industry": industry
|
| 501 |
})
|
| 502 |
)
|
| 503 |
-
|
| 504 |
except Exception as e:
|
| 505 |
-
|
| 506 |
|
| 507 |
return df, industry, industry_confidence
|
|
|
|
| 500 |
"industry": industry
|
| 501 |
})
|
| 502 |
)
|
| 503 |
+
print(f"[canonify] 🚀 Triggered analytics for {source_id}")
|
| 504 |
except Exception as e:
|
| 505 |
+
print(f"[canonify] ⚠️ Analytics trigger failed (non-critical): {e}")
|
| 506 |
|
| 507 |
return df, industry, industry_confidence
|