Skip to content

Non JSON replys #7

@greenpdx

Description

@greenpdx

line 19 JSON.parse(body) needs try/catch around it.

    try {
            obj = JSON.parse(body);
    } catch(ex) {
      return callback('Bad server response', void 0);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions