Skip to content

Commit

Permalink
make the error (which it isn't) a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rp- committed Jul 20, 2018
1 parent f16a560 commit 1e7d67d
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,15 +593,12 @@ public void applyChanges(RscPojo rscRawData)

if (!removedList.isEmpty())
{
errorReporter.reportError(
new ImplementationError(
"We know at least one resource the controller does not:\n " +
removedList.stream()
.map(rsc -> rsc.toString())
.collect(Collectors.joining(",\n ")) +
"\nThis could only happened if we missed a delete resource event.",
null
)
errorReporter.logWarning(
"We know at least one resource the controller does not:\n " +
removedList.stream()
.map(Resource::toString)
.collect(Collectors.joining(",\n ")) +
"\nThis could only happened if we missed a delete resource event."
);
}
}
Expand Down

0 comments on commit 1e7d67d

Please sign in to comment.