update events via wrapper routers
This commit is contained in:
5
ApiLibrary/common/line_number.py
Normal file
5
ApiLibrary/common/line_number.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def get_line_number_for_error():
|
||||
from inspect import currentframe, getframeinfo
|
||||
|
||||
frameinfo = getframeinfo(currentframe())
|
||||
return f"{frameinfo.filename} | {frameinfo.lineno}"
|
||||
Reference in New Issue
Block a user