Better check for errors during startup