forked from qt-creator/qt-creator
Axivion: Analyze Dashboard server response for errors
Change-Id: Id66c3ad5d8a6c7d73e7ad781893c936b0829cfbf Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -259,7 +259,8 @@ void AxivionPluginPrivate::handleProjectInfo(DashboardClient::RawProjectInfo raw
|
||||
{
|
||||
m_runningQuery = false;
|
||||
if (!rawInfo) {
|
||||
Core::MessageManager::writeFlashing(QStringLiteral(u"Axivion: ") + rawInfo.error());
|
||||
Core::MessageManager::writeFlashing(
|
||||
QStringLiteral(u"Axivion: %1").arg(rawInfo.error().message()));
|
||||
return;
|
||||
}
|
||||
m_currentProjectInfo = std::make_shared<const DashboardClient::ProjectInfo>(std::move(rawInfo.value()));
|
||||
|
||||
Reference in New Issue
Block a user