Crashing function gives back status failed and status code 500, but the promise does go in onfulfilled, not in onrejected. This makes error handling hard.
First screenshot is code, second one result on browser console.
Causes code like this. 😦
This is expected because the function execution was created successfully. you can check the result and throw an exception in your client if you'd like
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...