Skip to content

Commit

Permalink
Merge pull request #3425 from JaroslavTulach/jtulach/NoFailed
Browse files Browse the repository at this point in the history
Avoid using word failed in non-fatal debug messages
  • Loading branch information
Jaroslav Tulach committed Jan 7, 2022
2 parents 09ab94f + 3cf761d commit 1fc9650
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -370,7 +370,7 @@ final Node logicalViewForProject(
if (!data.hasFirst()) {
LOG.log(
Level.WARNING,
"Warning - project of {0} in {1} failed to supply a LogicalViewProvider in its lookup", // NOI18N
"Warning - project of {0} in {1} doesn't supply a LogicalViewProvider in its lookup", // NOI18N
new Object[]{
project.getClass(),
FileUtil.getFileDisplayName(project.getProjectDirectory())
Expand Down
Expand Up @@ -236,7 +236,7 @@ public void run () {
}
});
if (exceptions [0] != null) {
LOG.log(Level.INFO, "ModificationResult commit failed with an exception: ", exceptions[0]);
LOG.log(Level.INFO, "Cannot commit changes into " + fo, exceptions[0]);
int s = lastCommitted.size();
for (Throwable t : lastCommitted) {
LOG.log(Level.INFO, "Previous commit number " + s--, t);
Expand Down
Expand Up @@ -2124,7 +2124,7 @@ private static void doNotify(RequestProcessor.Task todo, Throwable ex) {
if (SLOW) {
Item item = todo.item;
if (item != null && item.message == null) {
item.message = "task failed due to: " + ex;
item.message = ex.toString();
item.initCause(ex);
ex = item;
}
Expand Down

0 comments on commit 1fc9650

Please sign in to comment.