Extensive logging and try/catches.