mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-09 15:35:39 +02:00
The db.execute/db.commit calls in the upsert and release paths sat outside the try/except that only wrapped OIDCProviderCreate, so a commit failure at startup (connection blip, WAL lock) propagated out of the lifespan and took the instance down -- the exact outcome this module exists to avoid. The body now runs inside a private _apply_env_oidc_provider(), with the public entry point catching, logging and rolling back on any exception.