Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8681

Noninformative failure description when creating file handler with invalid path

    XMLWordPrintable

    Details

      Description

      Calling

      /subsystem=undertow/configuration=handler/file=my-testing-handler:add(path="/some/path")
      

      results in this failure description, which just prints the provided path.

      {
          "outcome" => "failed",
          "failure-description" => "/some/path",
          "rolled-back" => true
      }
      

      The failure description should be enhanced to include information what it doesn't like about the path => e.g the path

      {"/some/path"}

      doesn't exist on file system

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              treblereel Dmitrii Tikhomirov
              Reporter:
              treblereel Dmitrii Tikhomirov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: