Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/error boundary #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

feat/error boundary #1

wants to merge 10 commits into from

Conversation

JayeHa
Copy link
Owner

@JayeHa JayeHa commented Feb 24, 2024

#2
위의 이슈사항으로 인해 외부API에 대한 에러처리작업을 진행했습니다.

  1. 외부 API 접속 실패 시 사용자에게 안내 메시지 제공
  2. 대체 데이터 사용: 외부 API 호출이 실패했을 때, 임시적으로 대체 데이터를 제공함으로써 서비스의 중단 최소화

해당 링크에서 테스트해보실 수 있습니다.

2024-02-255 03 58-ezgif com-speed

@JayeHa JayeHa added the enhancement New feature or request label Feb 24, 2024
@JayeHa JayeHa self-assigned this Feb 24, 2024
Copy link

vercel bot commented Feb 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
classting-quiz-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 27, 2024 2:56pm

Comment on lines +5 to +6
// TODO: 네트워크 에러 발생 유도
const API_URL = "https://opentdb.com/api.php" + "error";
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// TODO: 네트워크 에러 발생 유도
const API_URL = "https://opentdb.com/api.php" + "error";
const API_URL = "https://opentdb.com/api.php";

❗️ 테스트 발생 유도를 위한 작업입니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant