Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add mew log
Browse files
src/routes/api/generate/+server.ts
CHANGED
@@ -57,6 +57,7 @@ export async function POST({ request, cookies } : RequestEvent) {
|
|
57 |
return Buffer.from(response)
|
58 |
})
|
59 |
.catch((error) => {
|
|
|
60 |
return {
|
61 |
error: error.message,
|
62 |
}
|
|
|
57 |
return Buffer.from(response)
|
58 |
})
|
59 |
.catch((error) => {
|
60 |
+
console.log(error)
|
61 |
return {
|
62 |
error: error.message,
|
63 |
}
|