[PR #2775] [MERGED] chore: serialize when logging errors #4056

Closed
opened 2026-03-17 01:37:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2775
Author: @amk-dev
Created: 10/11/2022
Status: Merged
Merged: 10/11/2022
Merged by: @AndrewBastin

Base: mainHead: chore/serialize-error-logging


📝 Commits (1)

  • 958a192 chore: serialize when logging errors

📊 Changes

2 files changed (+21 additions, -7 deletions)

View changed files

📝 packages/hoppscotch-app/src/helpers/teams/TeamCollectionAdapter.ts (+18 -6)
📝 packages/hoppscotch-app/src/helpers/teams/TeamListAdapter.ts (+3 -1)

📄 Description

Before:
some error info is logged as [Object object]

After:
those error info are serialized, so they are properly logged


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2775 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 10/11/2022 **Status:** ✅ Merged **Merged:** 10/11/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `chore/serialize-error-logging` --- ### 📝 Commits (1) - [`958a192`](https://github.com/hoppscotch/hoppscotch/commit/958a1929416a35a46583402b7c3862038f668104) chore: serialize when logging errors ### 📊 Changes **2 files changed** (+21 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/src/helpers/teams/TeamCollectionAdapter.ts` (+18 -6) 📝 `packages/hoppscotch-app/src/helpers/teams/TeamListAdapter.ts` (+3 -1) </details> ### 📄 Description Before: some error info is logged as [Object object] After: those error info are serialized, so they are properly logged --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:37:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4056
No description provided.