Skip to content

Commit 1a14f76

Browse files
committed
this builds but doesn't work
1 parent a60f295 commit 1a14f76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/frc/robot/subsystems/superstructure/SuperstructureStateMachine.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import java.io.BufferedReader;
1515
import java.io.BufferedWriter;
1616
import java.io.File;
17+
import java.io.FileNotFoundException;
1718
import java.io.FileReader;
1819
import java.io.FileWriter;
1920
import java.io.IOException;
@@ -307,6 +308,8 @@ public Command buildCharacterizationCommand() {
307308
BufferedWriter bw = new BufferedWriter(fw);
308309
PrintWriter out = new PrintWriter(bw)) {
309310
out.println(logMessage);
311+
} catch (FileNotFoundException e) {
312+
System.out.println(logMessage);
310313
} catch (IOException e) {
311314
e.printStackTrace();
312315
}

0 commit comments

Comments
 (0)