aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index 652911c..b9707c0 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -136,7 +136,7 @@ impl futures::future::Future for State {
.unwrap()
.future
.poll()
- .map_err(|e| Error::Eval { source: e })?
+ .context(Eval)?
{
futures::Async::Ready(Some(event)) => match event {
crate::eval::CommandEvent::CommandStart(