summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index 4748549..9c504b5 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -17,7 +17,7 @@ pub fn run(app_state: &mut AppState) -> Result<()> {
if !output.status.success() {
app_state.set_pending(app_state.current_exercise_ind())?;
- bail!("Ran {exercise} with errors");
+ bail!("Ran {} with errors", app_state.current_exercise());
}
stdout.write_fmt(format_args!(