ydb-python-sdk icon indicating copy to clipboard operation
ydb-python-sdk copied to clipboard

feature: Report about timeout reason while connect to topic

Open rekby opened this issue 1 year ago • 0 comments

If set bad connection params to driver it will reconnect forever.

Topic writer will receive timeout error by retry policy but no contains details.

It will be good to include last driver error in timeout error, for example as: raise TimeoutError from exc.

P.S. may be do it in driver and return same exception from call - for all method, not for topics only

rekby avatar Mar 29 '23 11:03 rekby