Skip to content

Commit 03edea3

Browse files
authored
Merge pull request #27502 from akyrtzi/improve-getPlistEntry-err
2 parents 5f26958 + 4f07dcb commit 03edea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IDE/Utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ ide::replacePlaceholders(std::unique_ptr<llvm::MemoryBuffer> InputBuf,
481481
static std::string getPlistEntry(const llvm::Twine &Path, StringRef KeyName) {
482482
auto BufOrErr = llvm::MemoryBuffer::getFile(Path);
483483
if (!BufOrErr) {
484-
llvm::errs() << BufOrErr.getError().message() << '\n';
484+
llvm::errs() << "could not open '" << Path << "': " << BufOrErr.getError().message() << '\n';
485485
return {};
486486
}
487487

0 commit comments

Comments
 (0)