Fix linter error.
This commit is contained in:
parent
573e24fb50
commit
e85fd3504a
1 changed files with 2 additions and 2 deletions
|
|
@ -387,8 +387,8 @@ def setup_logging(log_level=None, name=None):
|
||||||
|
|
||||||
base_config = get_base_config()
|
base_config = get_base_config()
|
||||||
databases_path = os.path.join(base_config.system_root_directory, "databases")
|
databases_path = os.path.join(base_config.system_root_directory, "databases")
|
||||||
except:
|
except Exception as e:
|
||||||
raise ValueError
|
raise ValueError from e
|
||||||
|
|
||||||
# Get a configured logger and log system information
|
# Get a configured logger and log system information
|
||||||
logger = structlog.get_logger(name if name else __name__)
|
logger = structlog.get_logger(name if name else __name__)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue