Added bootstrap error handling.