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

feat(log/api): separate unexpected and expected logs #5624

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

halibobo1205
Copy link
Contributor

see #5495

@@ -2475,9 +2475,13 @@ public void createShieldedContractParameters(
ShieldedTRC20Parameters shieldedTRC20Parameters = wallet
.createShieldedContractParameters(request);
responseObserver.onNext(shieldedTRC20Parameters);
} catch (ZksnarkException | ContractValidateException e) {
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the purpose of separating exceptions?

According to PR and issue, the purpose is not very clear.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unknown exception stacks need to be printed so that you can track down the problem easily.

@halibobo1205 halibobo1205 merged commit c4d7635 into develop Dec 27, 2023
6 of 7 checks passed
@halibobo1205 halibobo1205 added this to the GreatVoyage-v4.7.4 milestone Dec 28, 2023
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.

None yet

2 participants