During liking by tag process, bot sometimes stops the process, because it fails to locate the like button for the post. The only possible reason why the button is not visible is when the post has been deleted shortly after the page with post for given hashtag has been loaded. When the selected hashtag is very popular, then this situation can happen just after 10-20 posts, which is very annoying, because you have to manually restart the process.
In my opinion, this scenario shouldn't stop the liking by tag process. I think that logging the error to the console and moving on to the next post is absolutely fine.
During liking by tag process, bot sometimes stops the process, because it fails to locate the like button for the post. The only possible reason why the button is not visible is when the post has been deleted shortly after the page with post for given hashtag has been loaded. When the selected hashtag is very popular, then this situation can happen just after 10-20 posts, which is very annoying, because you have to manually restart the process.
In my opinion, this scenario shouldn't stop the liking by tag process. I think that logging the error to the console and moving on to the next post is absolutely fine.