enzostvs HF staff commited on
Commit
1acbd47
β€’
1 Parent(s): 7a243d1

add mew log

Browse files
Files changed (1) hide show
  1. src/routes/api/generate/+server.ts +1 -1
src/routes/api/generate/+server.ts CHANGED
@@ -57,7 +57,7 @@ export async function POST({ request, cookies } : RequestEvent) {
57
  return Buffer.from(response)
58
  })
59
  .catch((error) => {
60
- console.log(error)
61
  return {
62
  error: error.message,
63
  }
 
57
  return Buffer.from(response)
58
  })
59
  .catch((error) => {
60
+ console.log({ error })
61
  return {
62
  error: error.message,
63
  }