wrap activities request to catch errors