catch any Exception if generation of gallerie images fails