Skip to content

Instantly share code, notes, and snippets.

@billmetangmo
Created September 5, 2025 12:28
Show Gist options
  • Save billmetangmo/f2671e99fc0fddf9b550d3e319ca2761 to your computer and use it in GitHub Desktop.
Save billmetangmo/f2671e99fc0fddf9b550d3e319ca2761 to your computer and use it in GitHub Desktop.
2025-09-05T12:26:34.090212935Z 68 ┃ if (isError(input)) {
2025-09-05T12:26:34.090216340Z 69 ┃ return input;
2025-09-05T12:26:34.090219693Z 70 ┃ }
2025-09-05T12:26:34.090223003Z ❯ 71 ┃ const err = new H3Error(input.message ?? input.statusMessage ?? "", {
2025-09-05T12:26:34.090226844Z 72 ┃ cause: input.cause || input
2025-09-05T12:26:34.090232707Z 73 ┃ });
2025-09-05T12:26:34.090236161Z 74 ┃ if (hasProp(input, "stack")) {
2025-09-05T12:26:34.090239912Z 75 ┃ try {
2025-09-05T12:26:34.090243259Z 76 ┃ Object.defineProperty(err, "stack", {
2025-09-05T12:26:34.090246947Z
2025-09-05T12:26:34.090250035Z ⁃ (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.CznCYL94.mjs:426:21)
2025-09-05T12:26:34.090253679Z ⁃ at async processMessage (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.CznCYL94.mjs:409:30)
2025-09-05T12:26:34.090257291Z
2025-09-05T12:26:34.090260414Z [CAUSE]
2025-09-05T12:26:34.090263682Z Error {
2025-09-05T12:26:34.090266836Z stack: '[vue/compiler-sfc] Missing catch or finally clause. (790:8)\n' +
2025-09-05T12:26:34.090270266Z '\n' +
2025-09-05T12:26:34.090273431Z './pages/dashboard/student/chat/index.vue\n' +
2025-09-05T12:26:34.090276741Z '887| \n' +
2025-09-05T12:26:34.090279893Z '888| // Upload du fichier au vector store (images et documents)\n' +
2025-09-05T12:26:34.090283311Z '889| try {\n' +
2025-09-05T12:26:34.090308622Z ' | ^\n' +
2025-09-05T12:26:34.090311858Z "890| console.log('📤 Tentative d\\'envoi du fichier au vector store:', {\n" +
2025-09-05T12:26:34.090315653Z '891| fileName: firstFile.name,\n' +
2025-09-05T12:26:34.090319007Z 'at createError (./node_modules/h3/dist/index.mjs:71:15)\n' +
2025-09-05T12:26:34.090322329Z 'at ./node_modules/@nuxt/vite-builder/dist/shared/vite-builder.CznCYL94.mjs:426:21)\n' +
2025-09-05T12:26:34.090325791Z 'at async processMessage (./node_modules/@nuxt/vite-builder/dist/shared/vite-builder.CznCYL94.mjs:409:30)',
2025-09-05T12:26:34.090333290Z message: '[vue/compiler-sfc] Missing catch or finally clause. (790:8)\n' +
2025-09-05T12:26:34.090336862Z
2025-09-05T12:26:34.090340038Z '\n' +
2025-09-05T12:26:34.090343206Z
2025-09-05T12:26:34.090346383Z './pages/dashboard/student/chat/index.vue\n' +
2025-09-05T12:26:34.090349636Z
2025-09-05T12:26:34.090352796Z '887| \n' +
2025-09-05T12:26:34.090356024Z
2025-09-05T12:26:34.090359121Z '888| // Upload du fichier au vector store (images et
2025-09-05T12:26:34.090362435Z documents)\n' +
2025-09-05T12:26:34.090365694Z
2025-09-05T12:26:34.090368791Z '889| try {\n' +
2025-09-05T12:26:34.090372062Z
2025-09-05T12:26:34.090375579Z ' | ^\n' +
2025-09-05T12:26:34.090378837Z
2025-09-05T12:26:34.090381963Z "890| console.log('📤 Tentative d\\'envoi du fichier au
2025-09-05T12:26:34.090385385Z vector store:', {\n" +
2025-09-05T12:26:34.090388850Z
2025-09-05T12:26:34.090392045Z '891| fileName: firstFile.name,',
2025-09-05T12:26:34.090395447Z data: {
2025-09-05T12:26:34.090398610Z code: 'VITE_ERROR',
2025-09-05T12:26:34.090401846Z id: '/pages/dashboard/student/chat/index.vue?macro=true',
2025-09-05T12:26:34.090405158Z stack: 'SyntaxError: [vue/compiler-sfc] Missing catch or finally clause. (790:8)\n' +
2025-09-05T12:26:34.090408587Z '\n' +
2025-09-05T12:26:34.090411915Z './pages/dashboard/student/chat/index.vue\n' +
2025-09-05T12:26:34.090415254Z '887| \n' +
2025-09-05T12:26:34.090418467Z '888| // Upload du fichier au vector store (images et documents)\n' +
2025-09-05T12:26:34.090421842Z '889| try {\n' +
2025-09-05T12:26:34.090425100Z ' | ^\n' +
2025-09-05T12:26:34.090428390Z "890| console.log('📤 Tentative d\\'envoi du fichier au vector store:', {\n" +
2025-09-05T12:26:34.090432070Z '891| fileName: firstFile.name,\n' +
2025-09-05T12:26:34.090435514Z ' at constructor (./node_modules/@babel/parser/lib/index.js:367:19)\n' +
2025-09-05T12:26:34.090438909Z ' at TypeScriptParserMixin.raise (./node_modules/@babel/parser/lib/index.js:6630:19)\n' +
2025-09-05T12:26:34.090442480Z ' at TypeScriptParserMixin.parseTryStatement (./node_modules/@babel/parser/lib/index.js:13229:12)\n' +
2025-09-05T12:26:34.090445958Z ' at TypeScriptParserMixin.parseStatementContent (./node_modules/@babel/parser/lib/index.js:12809:21)\n' +
2025-09-05T12:26:34.090449397Z ' at TypeScriptParserMixin.parseStatementContent (./node_modules/@babel/parser/lib/index.js:9532:18)\n' +
2025-09-05T12:26:34.090457284Z ' at TypeScriptParserMixin.parseStatementLike (./node_modules/@babel/parser/lib/index.js:12772:17)\n' +
2025-09-05T12:26:34.090460798Z ' at TypeScriptParserMixin.parseStatementListItem (/ap'... 360 more characters,
2025-09-05T12:26:34.090464217Z message: '[vue/compiler-sfc] Missing catch or finally clause. (790:8)\n' +
2025-09-05T12:26:34.090467595Z
2025-09-05T12:26:34.090470751Z '\n' +
2025-09-05T12:26:34.090473994Z
2025-09-05T12:26:34.090477184Z './pages/dashboard/student/chat/index.vue\n' +
2025-09-05T12:26:34.090480486Z
2025-09-05T12:26:34.090483619Z '887| \n' +
2025-09-05T12:26:34.090486865Z
2025-09-05T12:26:34.090489992Z '888| // Upload du fichier au vector store (images et
2025-09-05T12:26:34.090493334Z documents)\n' +
2025-09-05T12:26:34.090496587Z
2025-09-05T12:26:34.090499789Z '889| try {\n' +
2025-09-05T12:26:34.090503029Z
2025-09-05T12:26:34.090506154Z ' | ^\n' +
2025-09-05T12:26:34.090509375Z
2025-09-05T12:26:34.090512518Z "890| console.log('📤 Tentative d\\'envoi du fichier au
2025-09-05T12:26:34.090515961Z vector store:', {\n" +
2025-09-05T12:26:34.090519271Z
2025-09-05T12:26:34.090522518Z '891| fileName: firstFile.name,',
2025-09-05T12:26:34.090525928Z frame: '755 | y = ax² + bx + c\n' +
2025-09-05T12:26:34.090529567Z
2025-09-05T12:26:34.090532735Z '756 | </text>\n' +
2025-09-05T12:26:34.090536164Z
2025-09-05T12:26:34.090539651Z '757 | <text x="90" y="80" text-anchor="middle"
2025-09-05T12:26:34.090543553Z fill="#a855f7" font-family="Arial" font-size="9">\n' +
2025-09-05T12:26:34.090547532Z
2025-09-05T12:26:34.090550727Z ' |
2025-09-05T12:26:34.090554155Z ^\n' +
2025-09-05T12:26:34.090557359Z
2025-09-05T12:26:34.090560495Z '758 | Equation du second degre\n' +
2025-09-05T12:26:34.090563773Z
2025-09-05T12:26:34.090566934Z '759 | </text>',
2025-09-05T12:26:34.090570374Z },
2025-09-05T12:26:34.090573563Z statusCode: 500,
2025-09-05T12:26:34.090576844Z }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment