Skip to content

Commit

Permalink
#2472: decode content not the whole message
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Sep 7, 2023
1 parent ad854db commit bec04a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eo-runtime/src/main/java/EOorg/EOeolang/EOrust.java
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private Phi translate(final byte[] message, final String insert) {
ret = new Data.ToPhi(buffer.getLong());
break;
case 5:
final String cause = new String(message, StandardCharsets.UTF_8);
final String cause = new String(content, StandardCharsets.UTF_8);
if (this.error.get() == null) {
throw new ExNative(
"Rust insert failed in %s with message '%s'",
Expand Down

0 comments on commit bec04a4

Please sign in to comment.