Skip to content

Commit

Permalink
Use err
Browse files Browse the repository at this point in the history
  • Loading branch information
afsalthaj committed Apr 2, 2024
1 parent 149eb88 commit 5154f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golem-worker-service-base/src/evaluator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ fn handle_constructor(
let result = handle_constructor(one_constructor, input)?;
let analysed_type = AnalysedType::from(&result);
Ok(TypeAnnotatedValue::Result {
value: Ok(Some(Box::new(result))),
value: Err(Some(Box::new(result))),
error: Some(Box::new(analysed_type)),
ok: None,
})
Expand Down

0 comments on commit 5154f1f

Please sign in to comment.