Skip to content

Commit

Permalink
Fix missing log config file
Browse files Browse the repository at this point in the history
  • Loading branch information
tdviet committed Nov 8, 2023
1 parent a4677bf commit 929d9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedcloudclient/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def init_logger():
disable_existing_loggers=False,
defaults={"log_file": log_file, "log_level": log_level},
)
except (ValueError, TypeError, AttributeError, ImportError, KeyError):
except (ValueError, TypeError, AttributeError, ImportError, KeyError, FileNotFoundError):
logging.basicConfig(filename=log_file, level=logging.getLevelName(log_level))


Expand Down

0 comments on commit 929d9f4

Please sign in to comment.