Improve logging of parsing issues

pull/290/head
Josselin 5 years ago
parent 4cbe048ce7
commit 84f3573c74
  1. 2
      slither/__main__.py

@ -485,6 +485,8 @@ def main_impl(all_detector_classes, all_printer_classes):
:param all_detector_classes: A list of all detectors that can be included/excluded. :param all_detector_classes: A list of all detectors that can be included/excluded.
:param all_printer_classes: A list of all printers that can be included. :param all_printer_classes: A list of all printers that can be included.
""" """
# Set logger of Slither to info, to catch warnings related to the arg parsing
logger.setLevel(logging.INFO)
args = parse_args(all_detector_classes, all_printer_classes) args = parse_args(all_detector_classes, all_printer_classes)
# Set colorization option # Set colorization option

Loading…
Cancel
Save