extension_host: Include more details about error messages (#30543)
This PR makes it so the error messages surfaced to extensions will contain more information. Supersedes https://github.com/zed-industries/zed/pull/28491. Release Notes: - N/A
This commit is contained in:
parent
83319c8a6d
commit
58ed81b698
1 changed files with 1 additions and 1 deletions
|
@ -806,6 +806,6 @@ trait ToWasmtimeResult<T> {
|
|||
|
||||
impl<T> ToWasmtimeResult<T> for Result<T> {
|
||||
fn to_wasmtime_result(self) -> wasmtime::Result<Result<T, String>> {
|
||||
Ok(self.map_err(|error| error.to_string()))
|
||||
Ok(self.map_err(|error| format!("{error:?}")))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue