CmdBridge: Improve error reporting

Change-Id: I50f109da70e17262b39a818837fe54e7355bb866
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-10-11 07:34:07 +02:00
parent be4ffa3495
commit a90aa1b76f

View File

@@ -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;
} }
} }