We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15eb17a commit fb2b4dcCopy full SHA for fb2b4dc
1 file changed
forge/db.py
@@ -188,7 +188,10 @@ def write_enrichment(
188
"business_id": business_id,
189
"fields_updated": list(safe_updates.keys()),
190
}
191
- except (DatabaseError, Exception) as e: # Non-critical: return error dict instead of crashing caller
+ except (
192
+ DatabaseError,
193
+ Exception,
194
+ ) as e: # Non-critical: return error dict instead of crashing caller
195
logger.error("write_enrichment failed for %s: %s", business_id, e)
196
return {"status": "error", "business_id": business_id, "error": str(e)}
197
0 commit comments