Skip to content

Commit

Permalink
Report errors to stdout in REPL mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yihozhang committed Aug 20, 2024
1 parent 601b17f commit 5bc1504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ fn run_command_in_scripting(egraph: &mut EGraph, command: &str) {
}
}
Err(err) => {
println!("(error \"{err}\")");
log::error!("{err}");
}
}
Expand Down

0 comments on commit 5bc1504

Please sign in to comment.