Skip to content

Commit 7a36e5c

Browse files
committed
fix(ftb): add emitFailed after parsing error
Signed-off-by: so5iso4ka <so5iso4ka@icloud.com>
1 parent d01899c commit 7a36e5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

launcher/modplatform/modpacksch/FTBPackInstallTask.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ void PackInstallTask::onManifestDownloadSucceeded()
113113
qWarning() << "Error while parsing JSON response from ModpacksCH at " << parse_error.offset
114114
<< " reason: " << parse_error.errorString();
115115
qWarning() << *m_response;
116+
emitFailed(tr("Error while parsing JSON response from ModpacksCH"));
116117
return;
117118
}
118119

0 commit comments

Comments
 (0)