Merge branch 'capucho/panic_log_wrong_directory' into 'master'

Fix the wrong logs directory being displayed on panic

See merge request veloren/veloren!858
This commit is contained in:
Songtronix 2020-03-23 08:02:16 +00:00
commit 30e6bbc851

View File

@ -133,7 +133,9 @@ fn main() {
Panic Payload: {:?}\n\
PanicInfo: {}\n\
Game version: {} [{}]",
Settings::get_settings_path()
Settings::load()
.log
.logs_path
.join("voxygen-<date>.log")
.display(),
reason,