Add error status code to log line.