Fix loggers linting

This commit is contained in:
Chavithra PARANA
2022-03-29 17:34:00 +02:00
parent a91254fe2f
commit aafe3bf197

View File

@@ -53,6 +53,8 @@ def get_app_id() -> str:
try:
app_id = get_log_dir().stem
return app_id
except OSError as e:
if e.errno == 30:
print("Please move the application into a writable location.")
@@ -64,8 +66,6 @@ def get_app_id() -> str:
except Exception as e:
raise e
return app_id
def get_commit_hash() -> str:
"""Get Commit Short Hash"""