chore: use new logger
This commit is contained in:
parent
099bd3bcb8
commit
ea8ecfb28f
3 changed files with 33 additions and 25 deletions
|
|
@ -80,8 +80,7 @@ export async function action({ request }: ActionFunctionArgs) {
|
|||
}),
|
||||
},
|
||||
})
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
} catch {
|
||||
return json({
|
||||
error: 'Invalid API key',
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue