Exceptions.py 224 B

12345678
  1. import logging
  2. logger = logging.getLogger("pyC")
  3. class baangtTestStepException(Exception):
  4. def __init__(self, *args, **kwargs):
  5. logger.exception(f"Exception occured - aborting. Args: {args}, KWARGS: {kwargs}")