catch all exceptions while creating delegates so deployment wont be killed on error