Skip to content

Commit 8c63387

Browse files
committed
fix(exception): wrap parameter check exceptions with TronError
1 parent d911816 commit 8c63387

File tree

1 file changed

+1
-1
lines changed
  • framework/src/main/java/org/tron/core/config/args

1 file changed

+1
-1
lines changed

framework/src/main/java/org/tron/core/config/args/Args.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ public static void setParam(final Config config) {
12771277

12781278
private static long getProposalExpirationTime(final Config config) {
12791279
if (config.hasPath(Constant.COMMITTEE_PROPOSAL_EXPIRE_TIME)) {
1280-
throw new TronError("It is not allowed to configure commit.proposalExpireTime in "
1280+
throw new TronError("It is not allowed to configure committee.proposalExpireTime in "
12811281
+ "config.conf, please set the value in block.proposalExpireTime.", PARAMETER_INIT);
12821282
}
12831283
if (config.hasPath(Constant.BLOCK_PROPOSAL_EXPIRE_TIME)) {

0 commit comments

Comments
 (0)