repository manager gets access to context to add error messages, when repository connection fails