From 4ac60af04e4c3e658ab7b1722676a0a54c26c97c 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..07a3e57b718 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 an one at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml") .into_hooks(); panic_hook.install();