Skip to content

Commit ca63d43

Browse files
authored
fix error msg format wrong (#398)
1 parent e9dbfe3 commit ca63d43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/alipay/oceanbase/rpc/protocol/payload/impl/execute/ObTableSingleOpResult.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public Object decode(ByteBuf buf) {
9797
// 4. decode affected rows
9898
this.affectedRows = Serialization.decodeVi64(buf);
9999
} catch (Exception e) {
100-
String errMsg = String.format("ObTableSingleOpResult decode exception: header=%s, operationType=%d",
101-
this.header.toString(), this.operationType);
100+
String errMsg = String.format("ObTableSingleOpResult decode exception: header=%s, operationType=%s",
101+
this.header.toString(), this.operationType.toString());
102102
throw new IllegalArgumentException(errMsg + ", cause: " + e.getMessage(), e);
103103
}
104104

0 commit comments

Comments
 (0)