Handle errors from svgo