Skip to content

Commit

Permalink
Update hiero-enterprise-base/src/main/java/com/openelements/hiero/bas…
Browse files Browse the repository at this point in the history
…e/implementation/AccountClientImpl.java
  • Loading branch information
hendrikebbers authored Jan 13, 2025
1 parent 75f6c2a commit 8184ecc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public Account createAccount(@NonNull Hbar initialBalance) throws HieroException
final AccountCreateResult result = client.executeAccountCreateTransaction(request);
return result.newAccount();
} catch (IllegalArgumentException e) {
throw new HieroException("Invalid initial balance: " + e.getMessage(), e);
throw new HieroException("Error while creating Account", e);
}
}

Expand Down

0 comments on commit 8184ecc

Please sign in to comment.