Skip to content

Remove try/catch  #1

@send2moran

Description

@send2moran

https://github.com/send2moran/Herolo-Home-Assignment/blob/1df4eeaad8ddbc866af282d689dff7396bbbd569/src/Services/Weather.js#L47

remove try catch, always send desired type of object in return, it would be confusing to return an error object, let the caller handle exceptions

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