Arduino logging shield from Adafruit

I am using a logging shield logging all the data in one file.

My question is what would happen if the sd-card is full? Will the whole system break down?

Here is the code regarding the error handing:

void error(char *str)
{
  Serial.print("error: ");
  Serial.println(str);

  while(1);
}

void setup()
{

if (!SD.begin(chipSelect)) {
    error("Card failed, or not present");
  }
  
  Serial.println("card initialized.");
  #endif
  
  // create a new file
  char filename[] = "LOGGER00.CSV";
  for (uint8_t i = 0; i < 100; i++) {
    filename[6] = i/10 + '0';
    filename[7] = i%10 + '0';
    if (! SD.exists(filename)) {
      // only open a new file if it doesn't exist
      logfile = SD.open(filename, FILE_WRITE); 
      break;  // leave the loop!
    }
  }
  

  if (! logfile) {
    error("couldnt create file");
  }
  
  Serial.print("Logging to: ");
  Serial.println(filename);


  // connect to RTC
  Wire.begin();
  
  if (!RTC.begin()) {
    logfile.println("RTC failed");
  }
  
  if (! RTC.isrunning()) {
    // following line sets the RTC to the date & time this sketch was compiled
    // uncomment it & upload to set the time, date and start run the RTC!
    RTC.adjust(DateTime(__DATE__, __TIME__));
  }
       
}

Why not try it with a full card, and then you’ve got your answer.