Skip to content

Commit d403a9f

Browse files
committed
logging compile error
1 parent b7f83e3 commit d403a9f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

backend/src/main/java/com/skku/se7/service/converter/code/JavaCodeCompiler.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ public String toString() {
8282
}
8383
};
8484
compiler.run(null, System.out, outputStream, sourceFile.getPath());
85-
if(!outputStream.toString().isBlank()) throw new CompileException();
85+
if(!outputStream.toString().isBlank()) {
86+
log.warn("outputStream.toString() : {}", outputStream.toString());
87+
throw new CompileException();
88+
}
8689
}
8790

8891
}

0 commit comments

Comments
 (0)