X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/9cb1409918fe151422cc557997aa5691c01284b6..ce70a623c21a267679d59838d041f9bc1d486cd9:/src/main/java/org/asamk/signal/util/ErrorUtils.java diff --git a/src/main/java/org/asamk/signal/util/ErrorUtils.java b/src/main/java/org/asamk/signal/util/ErrorUtils.java index e40ed218..1c8a8f38 100644 --- a/src/main/java/org/asamk/signal/util/ErrorUtils.java +++ b/src/main/java/org/asamk/signal/util/ErrorUtils.java @@ -64,12 +64,12 @@ public class ErrorUtils { "CAPTCHA proof required for sending to \"%s\", available options \"%s\" with challenge token \"%s\", or wait \"%d\" seconds.\n" + ( failure.getOptions().contains(ProofRequiredException.Option.RECAPTCHA) - ? - "To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html\n" - + "Check the developer tools (F12) console for a failed redirect to signalcaptcha://\n" - + "Everything after signalcaptcha:// is the captcha token.\n" - + "Use the following command to submit the captcha token:\n" - + "signal-cli submitRateLimitChallenge --challenge CHALLENGE_TOKEN --captcha CAPTCHA_TOKEN" + ? """ + To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html + Check the developer tools (F12) console for a failed redirect to signalcaptcha:// + Everything after signalcaptcha:// is the captcha token. + Use the following command to submit the captcha token: + signal-cli submitRateLimitChallenge --challenge CHALLENGE_TOKEN --captcha CAPTCHA_TOKEN""" : "" ), identifier,