ai-component-generator icon indicating copy to clipboard operation
ai-component-generator copied to clipboard

Error handling

Open mael-queau opened this issue 1 year ago • 2 comments

I have added a way to know when an error has occurred, since I was sometimes getting 502's that were only getting logged to the console while the button was still loading.

The button turns red whenever something happens, and goes back to normal as soon as something is typed in the textarea. It is still clickable in that state, to allow retrying the prompt.

mael-queau avatar Mar 10 '23 11:03 mael-queau

Someone is attempting to deploy a commit to a Personal Account owned by @yuvalsuede on Vercel.

@yuvalsuede first needs to authorize it.

vercel[bot] avatar Mar 10 '23 11:03 vercel[bot]

Is that what you meant? I added different error messages for the different error codes I encountered myself.

mael-queau avatar Mar 16 '23 16:03 mael-queau