Skip to content

Catch and Handle 500 error from NASA API #26

@mikelax

Description

@mikelax

As a user, I don't want to see an internal error message when running an apod command, but rather a friendly message of what happened.

example command: /spacebot apod 2009-10-17
This API is returning a 500 error from NASA, this should be caught and return a message to the user that there is a problem returning the image for this specific date, please try a different date.

We should catch errors from NASA for all APIs, not just apod.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions