change(panic): mention the game version in panic

This commit is contained in:
Songtronix 2020-03-20 09:47:00 +01:00
parent 8c2c2cb430
commit b940cde501

View File

@ -123,7 +123,7 @@ fn main() {
and the events that led up to the panic as possible.
\n\
Voxygen has logged information about the problem (including this \
message) to the file {:#?}. Please include the contents of this \
message) to the file {}. Please include the contents of this \
file in your bug report.
\n\
> Error information\n\
@ -131,13 +131,15 @@ fn main() {
The information below is intended for developers and testers.\n\
\n\
Panic Payload: {:?}\n\
PanicInfo: {}",
// TODO: Verify that this works
PanicInfo: {}\n\
Game version: {} [{}]",
Settings::get_settings_path()
.join("voxygen-<date>.log")
.display(),
reason,
panic_info,
common::util::GIT_HASH.to_string(),
common::util::GIT_DATE.to_string()
);
error!(