Skip to content

Commit 38c7e4b

Browse files
committed
add print when Prim error occurs for debugging
1 parent 426a317 commit 38c7e4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Tumgad.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ private static void gerneratePrimAlg() {
262262
try { // Incredibly ugly, only until we figure out the bug
263263
Prim.generateExercise();
264264
} catch (IndexOutOfBoundsException e) {
265+
System.out.println("Error generating prim");
265266
gerneratePrimAlg();
266267
}
267268
}

0 commit comments

Comments
 (0)