Skip to content

Commit

Permalink
feat(cli): Improve logging for cli validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiWo committed Apr 13, 2024
1 parent 4c234bf commit c17a75d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions duties/cli/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Module for parsing CLI arguments
"""

import sys
from argparse import ArgumentError, ArgumentParser, FileType, Namespace
from itertools import chain
from multiprocessing import freeze_support
Expand All @@ -10,6 +11,8 @@
from cli import parse
from cli.types import Mode

sys.tracebacklimit = 0


def __get_raw_arguments() -> Namespace:
"""Parses cli arguments passed by the user
Expand Down Expand Up @@ -318,3 +321,4 @@ def __set_arguments() -> Namespace:


ARGUMENTS = __set_arguments()
sys.tracebacklimit = None

0 comments on commit c17a75d

Please sign in to comment.