GoogleCloudPlatform / GoogleCloudPlatform/training-data-analyst
`TypeError: First argument must be a string, Buffer` in `courses/developingapps/nodejs/stackdriver-debug-errorreporting/start/function/index.js`
Open
- Dominant language
- Jupyter Notebook
- Stars
- 8.6k
- Forks
- 6.1k
- Avg merge
- 4h 44m
- Merged PRs (30d)
- 2
Description
When following "App Dev: Debugging Application Errors v1.1", the Cloud Function has a bug that makes the lab impossible to follow, because it returns an unexpected error.
In `courses/developingapps/nodejs/stackdriver-debug-errorreporting/start/function/index.js#14`, `Buffer.from(pubsubMessage.data` should be `Buffer.from(pubsubMessage` (the `.data` property has already been "extracted" in line 12)
PR to follow
Contributor guide
Assessment
This issue has not been assessed yet.