🐛 Bug Report: appwrite function get-execution
crashes with TypeError
#153
Labels
bug
Something isn't working
appwrite function get-execution
crashes with TypeError
#153
👟 Reproduction steps
When I created a cloud function on Node 22, set it to run on update for database documents and run
appwrite functions get-execution
to get logs, the output ends withTypeError: Cannot convert undefined or null to object
.The error comes from this specific line, a check for whether the "object" is null seems to be missing.
👍 Expected behavior
It should either log the scheduledAt data or an empty object or null
👎 Actual Behavior
it actually fails with a type error
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
MacOS
🧱 Your Environment
No customised environment, using the appwrite cloud software and the Appwrite SDK
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: