Skip to content

Commit b1be16f

Browse files
committed
Send diagnostics on startup
1 parent 575de24 commit b1be16f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tmc-plugin/src/fi/helsinki/cs/tmc/actions/TmcModuleInstall.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ public void bgTaskFailed(Throwable ex) {
9797
}
9898
}).run();
9999
}
100+
if (!isFirstRun && settings.getSendDiagnostics()) {
101+
new SendDiagnostics().run();
102+
}
100103
}
101104
});
102105
}

tmc-plugin/src/fi/helsinki/cs/tmc/exerciseSubmitter/ExerciseSubmitter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package fi.helsinki.cs.tmc.exerciseSubmitter;
22

33
import fi.helsinki.cs.tmc.actions.CheckForNewExercisesOrUpdates;
4-
import fi.helsinki.cs.tmc.actions.SubmitExerciseAction;
54
import fi.helsinki.cs.tmc.core.TmcCore;
65
import fi.helsinki.cs.tmc.core.domain.Exercise;
76
import fi.helsinki.cs.tmc.core.domain.ProgressObserver;
@@ -27,7 +26,7 @@
2726

2827
public class ExerciseSubmitter {
2928

30-
private static final Logger log = Logger.getLogger(SubmitExerciseAction.class.getName());
29+
private static final Logger log = Logger.getLogger(ExerciseSubmitter.class.getName());
3130

3231
public static class InvokedEvent implements TmcEvent {
3332

0 commit comments

Comments
 (0)