majiayu000 opened a new pull request, #613:
URL: https://github.com/apache/burr/pull/613

   ## Summary
   - Improved error messages when SQLitePersister methods are called without 
initialization
   - Catches `sqlite3.OperationalError` for missing table and raises clear 
`RuntimeError`
   
   ## Changes
   - Added error handling in `SQLitePersister.load()`, `save()`, and 
`list_app_ids()`
   - Error message now clearly states: "Uninitialized persister: table 'X' does 
not exist. Make sure to call .initialize() on the persister before passing it 
to the ApplicationBuilder."
   
   ## Test plan
   - [x] Added 3 new unit tests for load, save, and list_app_ids without 
initialize
   - [x] All existing persistence tests pass (32 tests)
   - [x] Pre-commit checks pass
   
   Closes #417


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to