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
#699 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.