Update print-failure to work with result objects.