diff --git a/sampy/shared/glob.py b/sampy/shared/glob.py index f2ffad7..413240f 100644 --- a/sampy/shared/glob.py +++ b/sampy/shared/glob.py @@ -20,7 +20,7 @@ default_logging_fallback = False if type(conf_log["level"]) is not int: try: conf_log["level"] = getattr(logging, conf_log["level"]) - except: + except Exception: conf_log["level"] = logging.INFO default_logging_fallback = True