Intercept Imagick exceptions