Ignore Response Errors

Is thare is “ignore Response Errors” like OB1 in OB2 ?
Screenshot 2022-04-01 162722

TRY
// request block here
CATCH
END
1 Like

Hello Ruri. How can I write this exactly?

Go to the LoliCode view. Cut the entire HttpRequest block and paste it in place of the green text (the comment). Then in stacker you should see something like

LoliCode block containing TRY
Http Request block
LoliCode block containing CATCH etc.

1 Like

I want the key check to fail when the URL doesn’t work (ie ERROR).

BLOCK:Keycheck
  banIfNoMatch = False
  KEYCHAIN FAIL OR
    STRINGKEY @data.ERROR NotEqualTo ""
ENDBLOCK
1 Like

nothing has changed

Screenshot 2024-10-23 195023
Check this in the block where you want to get the error from.

1 Like

This is not a single address, it checks if the addresses here are valid.
Unwanted titles “FAIL”

no val named Server

@Ruri @ZEUS

this is OB1.

This is OB2. How can I make it work like Ob1?

Check the SAFE option so the error is printed to data.ERROR and you can do a keycheck on that variable. In OB1 you used to have a setting to ignore response errors, but in OB2 you can enable this behaviour per-block on almost all blocks.

2 Likes

Merci beaucoup ! Je cherchais un moyen d’ignorer les erreurs, et bim ! Je suis tombé sur ce post. Franchement, merci. Actuellement, je suis dessus. Si j’ai d’autres soucis, je sais maintenant où me rendre.