Skip to content

OWMNotFoundException never thrown #150

Closed
@robjuz

Description

@robjuz

The response is a xml, but the check is for json. Therefore the OWMNotFoundException is never thrown.

if ($result === "{\"message\":\"not found\"}\n" && $response->getStatusCode() === 404) {

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