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

how to get the error detail #2

Closed
songsongMr opened this issue Jun 27, 2018 · 1 comment
Closed

how to get the error detail #2

songsongMr opened this issue Jun 27, 2018 · 1 comment

Comments

@songsongMr
Copy link

all the describe of error is "io.eblock.eos4j.api.exception.ApiException: Internal Service Error" ,how to get the error detail
exp:
try {
Transaction t1 = rpc.transfer("5Ka2MNvrtWfNDueCvt4yBMSoKNMNdnL8bcdv94PkgJhpxvTr3Uo","eosio.token", "eosio.token","lishi12", "12.2821 EOS", "");
}catch(Exception ex) {
ex.printStackTrace();
//"io.eblock.eos4j.api.exception.ApiException: Internal Service Error

	}
@espritblock
Copy link
Owner

Update code
try{
}catch(ApiException ex){
ex.getError()
}

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

No branches or pull requests

2 participants