janestreet/magic-trace

Provide a better error message when fzf isn't found

Closed this issue · 0 comments

When fzf isn't available in the user's PATH, we crash with an ocaml exception. It's a pretty jarring experience for someone who'se never seen one before, and a terrible first impression.

Instead, let's give them a human-readable error message that invites the user to either:

  • install fzf, or
  • pass -pid to perf