Stringify error

pull/13/head
Sawyer Hood 3 years ago
parent 85fed1b4b9
commit 0b0e3823d8

@ -84,7 +84,7 @@ function ExportButton({ setHtml }: { setHtml: (html: string) => void }) {
const json = await resp.json();
if (json.error) {
alert("Error from open ai: " + json.error);
alert("Error from open ai: " + JSON.stringify(json.error));
return;
}

Loading…
Cancel
Save