Skip to content

Throw different Exception, when login fails due to captcha #4

Description

@FelixSFD

The current Exception does not tell much about the error that occurs when logging in.

Exception in thread "main" java.lang.IllegalStateException: Unable to login to Stack Exchange. (Site: stackexchange.com via meta.stackexchange.com)
	at org.sobotics.chatexchange.chat.StackExchangeClient.seLogin(StackExchangeClient.java:134)
	at org.sobotics.chatexchange.chat.StackExchangeClient.joinRoom(StackExchangeClient.java:182)
	at org.sobotics.guttenberg.services.RunnerService.start(RunnerService.java:57)
	at org.sobotics.guttenberg.clients.Client.main(Client.java:127)

When the bot needs to solve a captcha, a different exception should be throws

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions