Skip to content

Handle unreachable APIs in joke and weather fetches#34

Open
notalenanot wants to merge 1 commit into
mainfrom
codex/update-api-modules-with-error-handling
Open

Handle unreachable APIs in joke and weather fetches#34
notalenanot wants to merge 1 commit into
mainfrom
codex/update-api-modules-with-error-handling

Conversation

@notalenanot

Copy link
Copy Markdown
Owner

Summary

  • improve getJoke and getWeather to handle fetch errors
  • support API base URLs via environment variables

Testing

  • npm install
  • npm run build

https://chatgpt.com/codex/tasks/task_e_685839c7fd208322a2c592481383bc71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant