Hello guys,
I'm using the appwrite cloud.
By executing a GET query on my endpoint: http://aaaaaaaa.appwrite.global/ With the following json body:
{
"hello": "world"
}
And with the following implementation
export default async ({ req, res, log }) => {
log(req.bodyText);
return res.json({ message: "OK" });
};
I'm expecting to see my body in the Logs section of my Executions panel according to the documentation. But here nothing is displayed. Why ?
I also notice that doing log(req)
turns into a error 500.
Thanks for help!
Appwrite cloud functions: req data not displayed in log
Recommended threads
- Need help for include deploying my packa...
First think you need to know this is my folder structure: ``` root-directory ├── ems_package ├── functions │ ├── ems_function │ └── other_function └── appw...
- Getting an error 500 when authenticating...
When I connect to Github I get this error. All containers are running.
- Function local development: adding debug...
Is it possible to add logs to the node_modules packages in the container generated during local function development?