Skip to content

Commit

Permalink
Fix misleading error when spfs-monitor is not found
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bottriell <rbottriell@ilm.com>
  • Loading branch information
rydrman committed Mar 12, 2024
1 parent 80a4ac4 commit 125337d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/spfs/src/monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn spawn_monitor_for_runtime(rt: &runtime::Runtime) -> Result<tokio::process
}

let exe = match super::resolve::which_spfs("monitor") {
None => return Err(Error::MissingBinary("spfs")),
None => return Err(Error::MissingBinary("spfs-monitor")),
Some(exe) => exe,
};

Expand Down

0 comments on commit 125337d

Please sign in to comment.