Spaces:
Sleeping
Sleeping
Update bs/balance_sheet_data_extractor.py
#9
by
sahil-1-garg
- opened
bs/balance_sheet_data_extractor.py
CHANGED
|
@@ -78,4 +78,8 @@ def main() -> None:
|
|
| 78 |
logger.info(f"Extracted rows: Note 10β15 = {info_10_15.rows} rows")
|
| 79 |
|
| 80 |
if __name__ == "__main__":
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
logger.info(f"Extracted rows: Note 10β15 = {info_10_15.rows} rows")
|
| 79 |
|
| 80 |
if __name__ == "__main__":
|
| 81 |
+
try:
|
| 82 |
+
main()
|
| 83 |
+
except Exception as e:
|
| 84 |
+
logger.error(f"Balance sheet data extraction failed: {e}")
|
| 85 |
+
sys.exit(1)
|