When I am doing the lab5.6, it took me a long time to figure out the typo error which cause the function
I tried to read the function log, but the following is what I get, not very informative. Wondering if we can get a crush stack log for me to find out the bug easier.
textPayload: "Function execution took 91 ms, finished with status: ‘crash’"
If I was writing a Cloud Function for production use, I would probably include the Stackdriver Error Reporting client libraries to give me more information if things went wrong (see https://cloud.google.com/functions/docs/monitoring/error-reporting).
But this is just a demo function for a lab 🙂