diff options
Diffstat (limited to 'src/backends/run_error.rs')
-rw-r--r-- | src/backends/run_error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/run_error.rs b/src/backends/run_error.rs index 68f0495..6203bbe 100644 --- a/src/backends/run_error.rs +++ b/src/backends/run_error.rs @@ -22,8 +22,8 @@ impl From<WaitError> for RunError { impl std::fmt::Display for RunError { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { match &*self { - RunError::IoError(e) => e.fmt(f), - RunError::WaitError(e) => e.fmt(f) + RunError::IoError(e) => write!(f, "I/O error: {}", e), + RunError::WaitError(e) => write!(f, "Wait error: {}", e), } } } |