From a10182e46c1bb2bd37237ff86f214fd11295624c Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Tue, 25 Apr 2023 21:56:57 +0100 Subject: [PATCH] chore(nargo): update panic message to suggest searching for similar issues (#1224) 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();