Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4087

'dspace structure-builder' errors are too hard to interpret

    XMLWordPrintable

    Details

    • Type: Code Task
    • Status: Code Review Needed (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      structure-builder doesn't understand -h or -? and throws an unnecessary stack trace in each case.  It does not interpret exceptions very well, throwing another unnecessary trace for e.g. AuthorizeException.

      We should try to throw stack traces only in the case of an exception which is likely to require debugging.  If an exception can be explained from the user's point of view, we should.  We should accept requests for help.

        Attachments

          Activity

            People

            • Assignee:
              mwood Mark H. Wood
              Reporter:
              mwood Mark H. Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: