add the last error to the connection information