- Регистрация
- 10.03.2022
- Сообщения
- 182
- Благодарностей
- 13
- Баллы
- 18
I have a rather large bot, and I usually implement a "bad end" scenario when it encounters an error, returning the data back to a table. However, my bot is extensive and reads information from the tables at the beginning, middle, and end of its operations. If I use a bad end in case of an error, it will return the data already used, as well as the data that hasn't been used yet, which could cause problems.
Can anyone provide insight into the best way to return the data to the table so that only the used data is returned, while unused data is not included in the file, avoiding duplication? Thanks in advance!
Can anyone provide insight into the best way to return the data to the table so that only the used data is returned, while unused data is not included in the file, avoiding duplication? Thanks in advance!