What is the correct way to throw error, and get a failed state in the cloud functions? I get 200, when there are actuall errors. And i want to know exactly when something fails. Node.
I thought it was just throwing, so if you did throw new Error("Error message");
without catching it it would cause the function to fail?
ive could have left the catch in, let me get back home and check it out
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...