Added try/catch to formatter just in case.