philschmid commited on
Commit
761420f
·
verified ·
1 Parent(s): 9d4bb05

Update app/api/schema/route.ts

Browse files
Files changed (1) hide show
  1. app/api/schema/route.ts +4 -1
app/api/schema/route.ts CHANGED
@@ -137,7 +137,10 @@ export async function POST(request: Request) {
137
  } catch (error) {
138
  console.error("Error generating schema:", error);
139
  return NextResponse.json(
140
- { error: "Failed to generate schema" },
 
 
 
141
  { status: 500 }
142
  );
143
  }
 
137
  } catch (error) {
138
  console.error("Error generating schema:", error);
139
  return NextResponse.json(
140
+ {
141
+ error:
142
+ "Failed to generate schema, open a thread in discussions, could be be a rate limit issue.",
143
+ },
144
  { status: 500 }
145
  );
146
  }