Skip to content

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

Merged
halibobo1205 merged 1 commit intodevelopfrom
logs/log_opt
Dec 27, 2023
Merged

feat(log/api): separate unexpected and expected logs#5624
halibobo1205 merged 1 commit intodevelopfrom
logs/log_opt

Conversation

@halibobo1205
Copy link
Contributor

see #5495

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
@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.

2 participants