Commit cda67704 authored by Alexander Bubenchikov's avatar Alexander Bubenchikov
Browse files

IDEA-200425 - added logger to debug maven update issues

parent 667655ec
Branches unavailable Tags unavailable
No related merge requests found
Showing with 7 additions and 0 deletions
+7 -0
......@@ -270,6 +270,13 @@ public class MavenProjectsManagerWatcher {
final boolean forceImportAndResolve) {
final AsyncPromise<Void> promise = new AsyncPromise<>();
Runnable onCompletion = createScheduleImportAction(forceImportAndResolve, promise);
if (LOG.isDebugEnabled()) {
String withForceOptionMessage = force ? " with force option" : "";
LOG.debug("Scheduling update for " + myProjectsTree + withForceOptionMessage +
". Files to update: " + filesToUpdate + ". Files to delete: " + filesToDelete);
}
myReadingProcessor.scheduleTask(new MavenProjectsProcessorReadingTask(filesToUpdate,
filesToDelete,
force,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment