Make sure that the comments error handler gets called and works

Using ajax promises, ensure that the comments error handler gets called and removes the broken element.