From e423d3cd5c453010dc096a7992f45f3de93ff7a1 Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 25 Apr 2023 21:11:24 +0100 Subject: [PATCH] chore: update panic message to suggest searching for similar issues --- crates/nargo_cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nargo_cli/src/main.rs b/crates/nargo_cli/src/main.rs index bd3f1352bda..a73785c64c6 100644 --- a/crates/nargo_cli/src/main.rs +++ b/crates/nargo_cli/src/main.rs @@ -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 one at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml") .into_hooks(); panic_hook.install();