Skip to content

Crash from non-Json status 200 response #270

@Aras14HD

Description

@Aras14HD

Description

The bot has recently crashed trying to parse a response to a reddit reply.
Image

The only possibility, I see for it to have happened, other than a random reddit bug, is that the the token may have expired just after checking the expiry, just before the Request was received by the server.

A remedy might be to change the is_token_expired method to check if it is about to expire (mybe in 1 second).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions