Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Sep 5, 2024
1 parent f2a4621 commit 2c2d20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/json/src/json_to_move.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fn convert_json_value_to_move_value<S: StructResolver, R: ResourceResolver>(
if bigint.is_negative() {
return Err(deserialization_error_with_msg(
format!(
"failed to convert negative value {} to BigDecimal",
"BigDecimal conversion error: negative values are not supported, received: {}",
bigint
)
.as_str(),
Expand Down

0 comments on commit 2c2d20d

Please sign in to comment.