catch any exceptions that happen during link creation and fail gracefully