removed the try-except - added logger.error(str(e))