Skip to content
Prev Previous commit
fix wasm
  • Loading branch information
ShaharNaveh committed Jun 24, 2025
commit 324b8be834e8bf544b6c87d7cd67876250929dd0
2 changes: 1 addition & 1 deletion wasm/lib/src/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn js_err_to_py_err(vm: &VirtualMachine, js_err: &JsValue) -> PyBaseExceptio
_ => vm.ctx.exceptions.exception_type,
}
.to_owned();
vm.new_exception_msg(exc_type, err.message())
vm.new_exception_msg(exc_type, err.message().into())
}
None => vm.new_exception_msg(
vm.ctx.exceptions.exception_type.to_owned(),
Expand Down
Loading