1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +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>
try:
frame_info = inspect.getframeinfo(frame)
raise(IndexError) # TODO: Remove, only for testing
# raise(IndexError) # TODO: Remove, only for testing
except Exception:
# Separate from the print below to guarantee we see at least this much.