Skip to content

Commit

Permalink
chore: update panic message to suggest searching for similar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Apr 25, 2023
1 parent dc3fb48 commit 6c9cad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nargo_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fn main() -> eyre::Result<()> {
// Register a panic hook to display more readable panic messages to end-users
let (panic_hook, _) = HookBuilder::default()
.display_env_section(false)
.panic_section("This is a bug. Consider opening an issue at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml")
.panic_section("This is a bug. We may have already fixed this in newer versions of Nargo so try searching for similar issues at https://github.com/noir-lang/noir/issues/.\nIf there isn't an open issue for this bug, consider opening an issue at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml")
.into_hooks();
panic_hook.install();

Expand Down

0 comments on commit 6c9cad8

Please sign in to comment.