Removed logging

This commit is contained in:
Dimitris Zlatanidis 2023-05-05 21:47:39 +03:00
parent 682c5ed716
commit 3b6b21381c

View file

@ -344,9 +344,6 @@ class Argparse(Configs):
if opt not in options:
invalid.append(opt)
except (KeyError, IndexError):
logger = logging.getLogger(LoggingConfig.date)
logger.exception(f'{self.__class__.__name__}: '
f'{self.__class__.invalid_options.__name__}')
self.usage.help_short(1)
# Prints error for invalid options.