This should be covered by a spec test - stub tests to include a fake test, have it throw an exception, then validate that the rescue block writes the correct output.

Also, put the warn messages here inside of a paragraph{  }