Added catch statement to promises