Skip to content

Commit

Permalink
fix: logging error
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 2, 2023
1 parent 3c16f65 commit beb7f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/OpenAIResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function OpenAIResult(
});

if (res.status !== 200) {
throw new Error("OpenAI API " + res.statusText);
throw new Error("OpenAI API: " + res.statusText);
}

if (!payload.stream) {
Expand Down

1 comment on commit beb7f42

@vercel
Copy link

@vercel vercel bot commented on beb7f42 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.