Handle BotSession exceptions in CreateBotSession; Improve logging; Retire unused OutOfSyncError
Description
The work from !321 (merged) resolved some race conditions causing improper clean-up of leases when bots were rapidly re-creating BotSessions in-between UpdateBotSession
.
While that works as expected, this MR also handles those specific BotSession exceptions when the relevant functionality is being called from CreateBotSession
.
It also improves some logging around BotSessionClosed
.
Additionally, it retires the now unused OutOfSyncError.
Edited by Marios Hadjimichael