Skip to content

feat: improved logging#1826

Open
al-rosenthal wants to merge 3 commits intoopenwallet-foundation:mainfrom
al-rosenthal:feat/improved-logging
Open

feat: improved logging#1826
al-rosenthal wants to merge 3 commits intoopenwallet-foundation:mainfrom
al-rosenthal:feat/improved-logging

Conversation

@al-rosenthal
Copy link
Copy Markdown
Contributor

Summary of Changes

  • added an extra function to surface more error details

Testing Instructions

n/a

Acceptance Criteria

  • app still runs

Screenshots, videos, or gifs

n/a

Breaking change guide

n/a

Related Issues

n/a

Pull Request Checklist

Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

  • All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this)
  • If applicable, screenshots, gifs, or video are included for UI changes
  • If applicable, breaking changes are described above along with how to address them
  • If applicable, added changeset(s)
  • Added sufficient tests so that overall code coverage is not reduced

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

Pro Tip 🤓

  • Read our contribution guide at least once; it will save you a few review cycles!
  • Your PR will likely not be reviewed until all the above boxes are checked and all automated checks have passed

Signed-off-by: Alfred Rosenthal <alfred.k.rosenthal@gmail.com>
…bjects

Signed-off-by: Alfred Rosenthal <alfred.k.rosenthal@gmail.com>
@al-rosenthal al-rosenthal requested a review from a team as a code owner April 29, 2026 00:05
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 29, 2026

🦋 Changeset detected

Latest commit: ed870c3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@bifold/remote-logs Patch
@bifold/core Patch
@bifold/oca Patch
@bifold/react-hooks Patch
@bifold/react-native-attestation Patch
@bifold/verifier Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@sonarqubecloud
Copy link
Copy Markdown

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.21%. Comparing base (40e8288) to head (ed870c3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1826   +/-   ##
=======================================
  Coverage   59.21%   59.21%           
=======================================
  Files         326      326           
  Lines       11280    11280           
  Branches     3032     3127   +95     
=======================================
  Hits         6679     6679           
+ Misses       4572     4554   -18     
- Partials       29       47   +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines +49 to +57
if (value instanceof Error) {
return {
name: value.name,
message: value.message,
stack: value.stack?.split('\n').slice(1).map((line) => line.trim()) ?? [],
}
}
return value
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: can we include cause?

@jleach jleach self-assigned this May 5, 2026
@jleach jleach self-requested a review May 5, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants