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

이미지 파일에 대한 형식이 잘못될 시 예외를 처리한다. #858

Merged
merged 6 commits into from
Oct 21, 2022

Conversation

hwangstar156
Copy link
Collaborator

close #854

지원하지 않는 형식에는 지원하지 않는 형식입니다, 컨텐츠가 너무 큰 경우에는 컨텐츠의 용량이 너무 큽니다,로 에러 처리

useToastImageConverter hook을 이용하여 에러를 관리함.

전역으로 던질시 서버에러가 먼저 잡히는 문제때문에 onError에서 에러를 잡고 blockThrowError라는 상태로 전역으로 못잡게 막았습니다.

@hwangstar156 hwangstar156 added 🐛 bug 버그 이슈 🌈 frontend 프론트엔드 이슈 labels Oct 21, 2022
@hwangstar156 hwangstar156 self-assigned this Oct 21, 2022
@liswktjs liswktjs merged commit ab22020 into main Oct 21, 2022
@liswktjs liswktjs deleted the hotfix/854 branch October 21, 2022 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 버그 이슈 🌈 frontend 프론트엔드 이슈
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants