diff options
author | Bohdan Ivashko <20084245+arriven@users.noreply.github.com> | 2022-10-07 12:04:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 09:04:08 +0000 |
commit | 39f33a9a9a47bd7e22bff4c1ec3a0a1456ca30e8 (patch) | |
tree | e9748725333be40d4ec88606c254b2c35deafcf6 /zellij-utils/src/errors.rs | |
parent | bc04983f060132bdc107ea2326411d329ee7dc6b (diff) |
zellij-server: improve thread_bus error handling (#1775)
* zellij-server: improve thread_bus error handling
* zellij-server/thread_bus: get rid of option.unwrap
* zellij-utils/errors.rs: generic error in to_anyhow
Diffstat (limited to 'zellij-utils/src/errors.rs')
-rw-r--r-- | zellij-utils/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs index f729c036c..5e9618885 100644 --- a/zellij-utils/src/errors.rs +++ b/zellij-utils/src/errors.rs @@ -546,7 +546,7 @@ mod not_wasm { Err(e) => { let (msg, context) = e.into_inner(); Err( - crate::anyhow::anyhow!("failed to send message to client: {:#?}", msg) + crate::anyhow::anyhow!("failed to send message to channel: {:#?}", msg) .context(context.to_string()), ) }, |