Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-8611

Improve configdump error handling

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.3.1, EJBCA 7.3.0.1
    • Component/s: None
    • Labels:
      None

      Description

      Currerntly, errors result in a stacktrace by default (unless the --ignore-errors option is given, in which case the errors are ignored).

      For ConfigdumpException, we should catch it and print a nice error message with the exception message. If there was one or more errors, exit after the dry-run and print a message such as "There were errors. Nothing was exported."

      Both export and import commands should be changed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ulf_undmark Ulf Undmark
              Reporter:
              samuel Samuel Lidén Borell
              Verified by:
              Samuel Lidén Borell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 10 minutes
                  4h 10m