Mar-15-2022, 03:08 PM
(Mar-15-2022, 02:57 PM)Gribouillis Wrote: Try this hack to log the error
parser = argparse.ArgumentParser() ... _error = parser.error def error(message): logging.debug('argparse parser error %s', message) _error(message) parser.error = error arguments = parser.parse_args()
Hi
Do you think my problem is the argument's that is being passed ? It is not in expected format. Problem is tool sends the argument in that format