完善提取页面错误提示,优化复制链接和打开链接操作

This commit is contained in:
2025-04-15 14:29:54 +08:00
parent 3eebe48267
commit 1f1f603523
3 changed files with 26 additions and 17 deletions

View File

@@ -63,6 +63,6 @@ export async function GET(req: NextRequest) {
}
catch (error) {
console.error('Error creating channels:', error)
return NextResponse.json({error: error})
return NextResponse.json({error: (error as Error).message})
}
}