未验证 提交 66bb3dc6 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #3255 from dtrebbien/JENKINS-49060-include-filename-of-unreadable-file

[JENKINS-49060] Include the filename of the unreadable file in the exception message
......@@ -75,6 +75,8 @@ public class TextFile {
String line;
while ((line = in.readLine()) != null)
w.println(line);
} catch (Exception e) {
throw new IOException("Failed to fully read " + file, e);
}
return out.toString();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册