You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to log info and error messages inside of the config class at initialization
So that parsing and error messages are logged appropriately
Acceptance Criteria
Send the logger object to the config constructor
Wrap this code in a try catch:
with open(config_path, "r") as f:
json_data = json.loads(f.read())
Watch info or error messages get logged!
Technical Details
In the current implementation of the code, the logger class is initialized before the config class. I'm not sure if there is a reason why the logger is not sent to the config's constructor for logging purposes?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Story
Acceptance Criteria
Technical Details
In the current implementation of the code, the logger class is initialized before the config class. I'm not sure if there is a reason why the logger is not sent to the config's constructor for logging purposes?
The text was updated successfully, but these errors were encountered: