Merge "Print chained exceptions when maintenance script fails."