Replies: 2 comments 10 replies
-
I don't understand - these aren't user errors, they are errors in your usage of the API (sending invalid data to (edit - I've moved this to a discussion below (rather than Issue), GitHub's UI does not make this clear IMO since it uses the same color for "closed" vs "moved") |
Beta Was this translation helpful? Give feedback.
10 replies
-
Adding error handling to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Support Question
I've encountered an issue where various CSV conversion errors are being logged to the console, which makes it challenging to capture and display meaningful messages to the user. These errors seem to abort the update process unexpectedly.
Attached is a screenshot illustrating the errors:
![Screenshot 2023-12-20 at 14 20 56 copy](https://private-user-images.githubusercontent.com/33466807/292160682-e04837eb-2205-4841-beec-674acd4fa7b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzM3MTIsIm5iZiI6MTcyNDI3MzQxMiwicGF0aCI6Ii8zMzQ2NjgwNy8yOTIxNjA2ODItZTA0ODM3ZWItMjIwNS00ODQxLWJlZWMtNjc0YWNkNGZhN2I3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDIwNTAxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5MmQyYmZiNjg2N2NiNTE5Yzg1MWVhYjBmNTAxYjljY2Y0MzkwZjQyNDkzMmEwY2UwYzMwN2FhODMzOWU5MTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.d2wBT7W4p-904VwghUNm1tUMU7VBCMziSi20eLQSKP8)
I am looking for a way to properly capture these errors so that I can provide a meaningful and user-friendly response instead of these raw messages. The current behavior is not conducive to a good user experience, as the console logs are not visible to the end-users.
Could you advise on best practices for capturing these errors within the code?
Ideally, I would like to intercept these errors before they hit the console, and then log them or display a custom error message to the user. Any pointers or examples would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions