mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Make logging more useful
- Do not log progress percent but log job names. - Log install failures.
This commit is contained in:
parent
d175d199eb
commit
70a13fc588
2 changed files with 6 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include "ViewManager.h"
|
||||
|
||||
#include "utils/Logger.h"
|
||||
#include "viewpages/ViewStep.h"
|
||||
#include "InstallationViewStep.h"
|
||||
#include "JobQueue.h"
|
||||
|
@ -119,6 +120,10 @@ ViewManager::insertViewStep( int before, ViewStep* step)
|
|||
void
|
||||
ViewManager::onInstallationFailed( const QString& message, const QString& details )
|
||||
{
|
||||
cLog() << "Installation failed:";
|
||||
cLog() << "- message:" << message;
|
||||
cLog() << "- details:" << details;
|
||||
|
||||
QMessageBox msgBox;
|
||||
msgBox.setIcon( QMessageBox::Critical );
|
||||
msgBox.setWindowTitle( tr("Error") );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue