diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-12-01 23:06:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 23:06:35 +0100 |
commit | 0d08e082be68c54707d80c74d9ed4bd737e3b1ad (patch) | |
tree | e9e84b7b4d4b89e4a5836a8e8e43e0115ee4cd92 /launcher/InstanceCreationTask.cpp | |
parent | 9e1653ebb471d4d96efda85cbde128c59fe3686a (diff) | |
parent | 386fb28a35e4195838c0711dc894626a5d259c0e (diff) | |
download | PrismLauncher-0d08e082be68c54707d80c74d9ed4bd737e3b1ad.tar.gz PrismLauncher-0d08e082be68c54707d80c74d9ed4bd737e3b1ad.tar.bz2 PrismLauncher-0d08e082be68c54707d80c74d9ed4bd737e3b1ad.zip |
Merge pull request #538 from flowln/fix_some_cf_imports
A couple fixes for CF instance imports
Diffstat (limited to 'launcher/InstanceCreationTask.cpp')
-rw-r--r-- | launcher/InstanceCreationTask.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/launcher/InstanceCreationTask.cpp b/launcher/InstanceCreationTask.cpp index 3971effa..73dc1789 100644 --- a/launcher/InstanceCreationTask.cpp +++ b/launcher/InstanceCreationTask.cpp @@ -25,9 +25,13 @@ void InstanceCreationTask::executeTask() return; qWarning() << "Instance creation failed!"; - if (!m_error_message.isEmpty()) + if (!m_error_message.isEmpty()) { qWarning() << "Reason: " << m_error_message; - emitFailed(tr("Error while creating new instance.")); + emitFailed(tr("Error while creating new instance:\n%1").arg(m_error_message)); + } else { + emitFailed(tr("Error while creating new instance.")); + } + return; } |