Adding error control to hourglass if app fails to start