Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Insufficient error handling when servers don't serve sane data #1

Description

@WentTheFox

When dA servers reply with a 500, that causes knock-on effects in the code:

  • Server responds with status 500 and a HTML page with error.

  • Error is reported at request-utils.js:218: Failed to get message counts SyntaxError: Unexpected token < in JSON at position 0

  • Badge displays as NaNn

  • Similar in the popup interface.

  • A notification is fired as if new messages are there.

Originally posted by @kav2k on March 8th, 2021

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmedium priorityThe default priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions