Use CARGO_PKG_REPOSITORY instead of hard-coded URL

This commit is contained in:
Lucien Greathouse
2020-03-12 15:48:30 -07:00
parent eb8964e1d1
commit 2a31937b81

View File

@@ -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);