Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: plugin ledger connector xdai exception handling and upgrade TS #1770

Conversation

Leeyoungone
Copy link
Contributor

@Leeyoungone Leeyoungone commented Jan 13, 2022

Depends on #1707

Depends on #1381

Fixes #1740

@github-actions
Copy link

github-actions bot commented Jan 13, 2022

This PR/issue depends on:

@Leeyoungone Leeyoungone force-pushed the plugin-ledger-connector-xdai-1740 branch 2 times, most recently from 5da2b92 to d83e25b Compare January 13, 2022 20:39
m-courtin and others added 2 commits January 14, 2022 12:32
Introduce a log helper with static functions to get exception message /
exception stack whatever is thrown or provided.

Closes: hyperledger-cacti#1702
Signed-off-by: Michael Courtin <[email protected]>
@Leeyoungone Leeyoungone force-pushed the plugin-ledger-connector-xdai-1740 branch from d83e25b to c6e1987 Compare January 14, 2022 18:32
@petermetz petermetz removed the request for review from jonathan-m-hamilton January 14, 2022 22:15
message: "Internal Server Error",
error: ex?.stack || ex?.message,
});
if (ex instanceof Error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@Leeyoungone Let's wait with this until #1381 is resolved as well because that's what it really depends on and I don't know for sure yet how that's going to play out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good! So sorry, I've just been plugging away at this epic -- I can go ahead and wait till the dependent PRs are merged into main. Feel free to ignore the current PRs I have open for endpoint error handling !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build(deps): upgrade to TS 4.4 plugin-ledger-connector-xdai
3 participants