I think we can get rid of this try except block, so if an exception occurs it would be displayed in the agent info page.