def format_train_exception
      backend, host = formatted_host()
      if host.nil?
        t.CHEFTRN002.text(exception.message)
      else
        t.CHEFTRN001.text(backend, host, exception.message)
      end
    end
def format_train_exception
      backend, host = formatted_host()
      if host.nil?
        t.CHEFTRN002.text(exception.message)
      else
        t.CHEFTRN001.text(backend, host, exception.message)
      end
    end
TODO this gets moved to trainerrormapper  or simply removed since
     many of these issues are now handled in the RemoteTarget::ConnectionFailure