Storage error logs end in a bare colon when the exception has no message (e.g. pool TimeoutError)
Some exceptions convert to an empty string, for example the TimeoutError() raised when no Postgres pool connection is free. When one reaches PgCheckpointer, PgVectorStore, QdrantStore or the agent's non-retryable error path, the log line and the raised error message do not say what went wrong:
Failed to store state for thread_id=abc: Non-retryable error:
This makes connection-pool exhaustion and timeouts hard to diagnose in production. StorageError and SchemaVersionError messages are cut off in the same way.
Related log noise: every new thread logs WARNING No existing state found to reload, returning old state. That is the normal path for a first message, not a problem.
Steps to reproduce
- Use PgCheckpointer with a small pool (pool_config={"max_size": 1}) and send enough concurrent requests to exhaust it.
- Check the logs.
Expected: Failed to store state for thread_id=abc: TimeoutError()
Actual: Failed to store state for thread_id=abc: with nothing after it.
Affected: 10xgraph 1.0.0rc6 and earlier: PgCheckpointer, PgVectorStore, QdrantStore, and the agent's LLM error logging.