Who is liable in court for this hypothetical double breach of contact?
Just something I'm curious about as I can totally imagine it happening in the real world.
Let's say that Healthcorp is a medical services provider of some kind, and as such are required to keep certain records for a certain amount of time. They sign a contract with Archivetopia to keep safe all the records that they absolutely have to hold onto. However, the guy that used to work at GitLab got hired for Archivetopia, and he accidentally deletes a ton of entries from their database, which included Healcorp's records, and there is no way to recover any of it. Then, Healthcorp gets subpoena'd, so they call up Archivetopia only to find out they can't produce the records they need.
Healthcorp would be in serious trouble as they are responsibly for the records.
Archivetopia would also be up for breach of contract but that would be a separate case and Healthcorp would not be able to abrogate their responsibility.