parent
2c92043998
commit
8bf8950c2b
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def get_current_stack_frames():
|
|||
current = inspect.currentframe()
|
||||
frames = inspect.getouterframes(current, context=10)
|
||||
for frame, filename, lineno, function, context, index in list(reversed(frames))[:-2]:
|
||||
if "/apps/" in filename:
|
||||
if "/apps/" in filename or "<serverscript>" in filename:
|
||||
yield {
|
||||
"filename": TRACEBACK_PATH_PATTERN.sub("", filename),
|
||||
"lineno": lineno,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue