mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Setting ERROR status back on failed captcha solving.
This commit is contained in:
@@ -246,7 +246,9 @@ namespace RuriLib.LS
|
||||
// This way we prevent the interruption of the script and an endless retry cycle e.g. if we fail to parse a response given a specific input
|
||||
if (block != null && (
|
||||
block.GetType() == typeof(BlockRequest) ||
|
||||
block.GetType() == typeof(BlockBypassCF)))
|
||||
block.GetType() == typeof(BlockBypassCF) ||
|
||||
block.GetType() == typeof(BlockImageCaptcha) ||
|
||||
block.GetType() == typeof(BlockRecaptcha)))
|
||||
{
|
||||
data.Status = BotStatus.ERROR;
|
||||
throw new BlockProcessingException(ex.Message);
|
||||
|
||||
Reference in New Issue
Block a user