Skip to content

Commit

Permalink
Update runtimes/js/src/error.rs
Browse files Browse the repository at this point in the history
Co-authored-by: André Eriksson <[email protected]>
  • Loading branch information
fredr and eandre authored Feb 3, 2025
1 parent 4a9ea71 commit ff76cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtimes/js/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn coerce_to_api_error(env: Env, val: napi::JsUnknown) -> Result<api::Error,
.map_err(|e| api::Error {
code: api::ErrCode::Internal,
message: api::ErrCode::Internal.default_public_message().into(),
internal_message: Some(format!("couldn't parse error details: {}", e)),
internal_message: Some(format!("unable to parse error details: {}", e)),
details: None,
stack: None,
})?;
Expand Down

0 comments on commit ff76cf2

Please sign in to comment.