Skip to content

Commit

Permalink
Print unlogged lines again
Browse files Browse the repository at this point in the history
This would otherwise result in log lines not outputted when tests are ran
  • Loading branch information
nallath committed Feb 10, 2022
1 parent 59e27e7 commit 75b9c44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UM/Logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def log(cls, log_type: str, message: str, *args, **kwargs):
try:
# Store the log lines for when a logger is added.
cls.__unlogged_lines.append((log_type, message))
print(message)
except Exception as e:
print("!FAILED TO FAIL TO LOG! ", log_type, e)

Expand Down

0 comments on commit 75b9c44

Please sign in to comment.