From 2a31937b81c70f488183f75fa687954f6642f2e7 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Thu, 12 Mar 2020 15:48:30 -0700 Subject: [PATCH] Use CARGO_PKG_REPOSITORY instead of hard-coded URL --- src/bin.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin.rs b/src/bin.rs index 3d3189e1..ff31802b 100644 --- a/src/bin.rs +++ b/src/bin.rs @@ -31,7 +31,10 @@ fn main() { log::error!("Rojo crashed!"); log::error!("This is probably a Rojo bug."); log::error!(""); - log::error!("Please consider filing an issue: https://github.com/rojo-rbx/rojo/issues"); + log::error!( + "Please consider filing an issue: {}/issues", + env!("CARGO_PKG_REPOSITORY") + ); log::error!(""); log::error!("Details: {}", message);