improve error message for failing shell startup