1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 08:40:34 +03:00

EDMCLogging: Comment out a 'testing' raise() call

This commit is contained in:
Athanasius 2020-12-15 19:35:51 +00:00
parent f885c2b769
commit 286647869b

View File

@ -286,7 +286,7 @@ class EDMCContextFilter(logging.Filter):
# <https://stackoverflow.com/questions/2203424/python-how-to-retrieve-class-information-from-a-frame-object#2220759> # <https://stackoverflow.com/questions/2203424/python-how-to-retrieve-class-information-from-a-frame-object#2220759>
try: try:
frame_info = inspect.getframeinfo(frame) frame_info = inspect.getframeinfo(frame)
raise(IndexError) # TODO: Remove, only for testing # raise(IndexError) # TODO: Remove, only for testing
except Exception: except Exception:
# Separate from the print below to guarantee we see at least this much. # Separate from the print below to guarantee we see at least this much.