Skip to content

Handle unhandled promise rejections - #18

Closed
xlassix wants to merge 1 commit into
masterfrom
FIET-364-unhandledRejection
Closed

Handle unhandled promise rejections#18
xlassix wants to merge 1 commit into
masterfrom
FIET-364-unhandledRejection

Conversation

@xlassix

@xlassix xlassix commented Oct 12, 2025

Copy link
Copy Markdown
Collaborator

This PR is dependent on #85

@xlassix
xlassix requested a review from rsoury October 12, 2025 22:45
Comment thread src/server.ts

// TODO: remove if https://github.com/usherlabs/verity-dp/pull/85 is approved else keep for FIET-364
process.on("unhandledRejection", (reason) => {
console.error("[unhandledRejection]", reason);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why not use log.error?

@rsoury

rsoury commented Oct 25, 2025

Copy link
Copy Markdown
Member

Closed as handling throwOnError in Verity TS Client: usherlabs/verity-dp@8ac3403...cf0d123

@rsoury rsoury closed this Oct 25, 2025
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.

2 participants