Adds a console log if there is an error on loading the slider