Report the 1st error message in the log file instead of the last one (which is always a generic message)