Skip to content

Commit 9d3bbb6

Browse files
author
UnexpectedFisting
committed
portal: harden payment extraction and skip non-posted entries
Improve portal sync reliability by detecting and skipping non-posted payment rows (pending/scheduled/processing/cancelled), adding safer extraction fallbacks, and expanding parser tests so dry-run output reflects true posted payments. Made-with: Cursor
1 parent 775f972 commit 9d3bbb6

3 files changed

Lines changed: 360 additions & 247 deletions

File tree

src/studentaid_monarch_sync/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def main(argv: Optional[List[str]] = None) -> int:
372372
return 0
373373
except Exception as e:
374374
state.record_run_finish(run_id, ok=False, message=str(e))
375-
logger.error("Run failed (run_id=%s ok=false seconds=%.2f)", run_id, time.time() - t0)
375+
logger.exception("Run failed (run_id=%s ok=false seconds=%.2f)", run_id, time.time() - t0)
376376
raise
377377
finally:
378378
state.close()

0 commit comments

Comments
 (0)