Error catching for recovery code, remove excess amounts of debug info.