Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1561

Display the fatal error screen only when necessary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.1.0
    • Component/s: Commandline

      Description

      A user reported via GitHub:

      $ python -m nxdrive --version
      Traceback (most recent call last):
        File "nxdrive/__main__.py", line 136, in main
        File "nxdrive/commandline.py", line 469, in handle
        File "nxdrive/commandline.py", line 385, in parse_cli
        File "argparse.py", line 1734, in parse_args
        File "argparse.py", line 1766, in parse_known_args
        File "argparse.py", line 1972, in _parse_known_args
        File "argparse.py", line 1912, in consume_optional
        File "argparse.py", line 1840, in take_action
        File "argparse.py", line 1051, in __call__
        File "argparse.py", line 2380, in exit
      SystemExit: 0
      

      In fact, here SystemExit with a return code of zero means that all went fine. So we should not display the fatal error screen in that case.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m