Added saving of detailed error log to the score file.