I have this func:
@dp.message_handler(state=StateInfo.user_answer)
async def reset_bot(message: types.Message, state: FSMContext):
await state.reset_state(True)
if message.text == 'Send new task':
await start_uma(message)
else:
await bot.send_message(text="Error!", chat_id=message.chat.id)
await reset_bot(message, state)
But after running this year I get endless error messages I've tried using the get_updetes and loops but nothing seems to work. Please tell me what I did wrong