Fix bug that would ignore startup errors