fix outdated app list printing via cli

This commit is contained in:
FrogTheFrog
2025-06-18 02:16:21 +03:00
committed by Cameron Gutman
parent 1dbdcb5279
commit b9cab4cac5
3 changed files with 20 additions and 36 deletions

View File

@@ -304,8 +304,7 @@ NvHTTP::getAppList()
// We must have a valid app before advancing to the next one
if (!apps.isEmpty() && !apps.last().isInitialized()) {
qWarning() << "Invalid applist XML";
Q_ASSERT(false);
return QVector<NvApp>();
throw std::runtime_error("Invalid applist XML");
}
apps.append(NvApp());
}