Added correct_exit code parameter, to enable stop compilation in the case of problems
Parse log file for fatal error