Merge branch 'songtronix/include-version-in-crash' into 'master'

Mention the game version in panic

See merge request veloren/veloren!852
This commit is contained in:
Acrimon 2020-03-20 09:24:51 +00:00
commit 763d68fb96

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!(