fixed missing log file saving

This commit is contained in:
thrust26 2020-07-27 09:01:54 +02:00
parent 205c532398
commit 42fce631c0
1 changed files with 2 additions and 1 deletions

View File

@ -124,10 +124,11 @@ void LoggerDialog::saveLogFile()
stringstream out;
out << Logger::instance().logMessages();
instance().frameBuffer().showMessage("Saving log file to " + node.getShortPath());
node.write(out);
}
catch(...)
{
instance().frameBuffer().showMessage("Error savin log file to " + node.getShortPath());
instance().frameBuffer().showMessage("Error saving log file to " + node.getShortPath());
}
}