fix: Improve error message for SQLitePersister
#417
Labels
exceptions
Improvements to exception handling and provide clearer messages to users
good first issue
Good for newcomers
I always forget about calling
.initialize()
on the persister to create tables and that's the error I get:Notes:
user code -> burr.telemetry -> user code -> burr.core.persistence
ApplicationBuilder().with_state_persistence(...)
instead ofApplicationBuilder().build()
. (seems like a unlikely pattern to pass the persister then initialize it later)RuntimeError: Uninitialized persister
. Make sure to call.initialize()
before passing it to theApplicationBuilder
The text was updated successfully, but these errors were encountered: