forked from qt-creator/qt-creator
CmdBridge: Improve error reporting
Change-Id: I50f109da70e17262b39a818837fe54e7355bb866 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -524,7 +524,7 @@ bool FileAccess::createDirectory(const Utils::FilePath &filePath) const
|
|||||||
f->waitForFinished();
|
f->waitForFinished();
|
||||||
return true;
|
return true;
|
||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
qCWarning(faLog) << "Error creating directory:" << e.what();
|
qCWarning(faLog) << "Error creating directory" << filePath << ":" << e.what();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user