improve bootstrap generation error reporting