Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- Firestore Emulator UI now supports deleting documents and collections recursively.
- Fixes some Storage Emulator UI errors.
- Fixes some issues when using Emulator UI on a different device.
- Fixes issues where functions:log command did not showing some log entries. (#3539)
5 changes: 4 additions & 1 deletion src/commands/functions-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ module.exports = new Command("functions:log")
entry.timestamp,
_.get(entry, "severity", "?").substring(0, 1),
_.get(entry, "resource.labels.function_name") + ":",
_.get(entry, "textPayload", "")
entry.textPayload ||
JSON.stringify(entry.jsonPayload) ||
JSON.stringify(entry.protoPayload) ||
""
);
}
if (_.isEmpty(entries)) {
Expand Down