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 issue with uncaught exception in logger #43

Merged
merged 6 commits into from
May 2, 2019

Conversation

luckychess
Copy link
Contributor

Description of the Change

Pull request fixes irohad crash on receiving SetAccountDetail transaction with value field set to "{}".

Benefits

No crash^^

Possible Drawbacks

Command doesn't pass stateful validation with message command 'SetAccountDetail' with index '0' did not pass verification with code '1'. Code 1 means "internal error" which isn't a user friendly message. I suggest either to create additional stateless validation rule or improve error message (or maybe even so some escaping for Postgres).

@luckychess luckychess merged commit 9754ece into hyperledger-iroha:develop May 2, 2019
@luckychess luckychess deleted the fix/logger_crash branch May 2, 2019 08:42
@lebdron lebdron mentioned this pull request May 6, 2019
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.

3 participants