fix(agent): Log registry error in agent