return teeprint "1\nError was $foo\n" if $foo;