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

Add error handling for updateOptionList operation #14445

Open
coderabbitai bot opened this issue Jan 17, 2025 · 0 comments
Open

Add error handling for updateOptionList operation #14445

coderabbitai bot opened this issue Jan 17, 2025 · 0 comments
Labels
status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design.

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 17, 2025

Add error handling to the updateOptionList operation in AppContentLibrary.tsx similar to handleUpload.

The error handling should:

  • Show a success toast message on successful update
  • Show a generic error toast message when an unknown error occurs
  • Handle API errors appropriately

Context:

cc @TomasEng

@TomasEng TomasEng removed their assignment Jan 17, 2025
@TomasEng TomasEng added the status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design. label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/ready-for-specification Status: Used for issues that are ready for functional decription og detailed design.
Projects
Status: No status
Development

No branches or pull requests

1 participant