log/windows: Fix message formatting in log_init_panic()
Accidentally left a couple of lines hanging after an internal refactoring. Oops.
This commit is contained in:
parent
856bbc35b9
commit
044a6a999d
1 changed files with 2 additions and 4 deletions
|
@ -175,15 +175,13 @@ void log_init_panic(const libc_error& e,
|
|||
}
|
||||
|
||||
msg << "\n\n"
|
||||
<< "Runtime error: " << e.desc() << " (" << e.num() << ")\n"
|
||||
<< "New log file path: " << new_log_path << '\n'
|
||||
<< "Old log file path: ";
|
||||
<< "Runtime error: " << e.desc() << " (" << e.num() << ")\n";
|
||||
|
||||
if(old_log_path.empty()) {
|
||||
msg << "Log file path: " << new_log_path << '\n';
|
||||
} else {
|
||||
msg << "New log file path: " << new_log_path << '\n'
|
||||
<< "Old log file path: ";
|
||||
<< "Old log file path: " << old_log_path;
|
||||
}
|
||||
|
||||
log_init_panic(msg.str());
|
||||
|
|
Loading…
Add table
Reference in a new issue