Added error log in the bot initializing phase