Merge pull request #7007 from rohitwaghchaure/errprint_not_working
fix: errprint not working
This commit is contained in:
commit
f0ff4fb6bf
1 changed files with 1 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ def get_error_snapshot_path():
|
|||
|
||||
def get_frame_locals():
|
||||
traceback = sys.exc_info()[2]
|
||||
frames = []
|
||||
if traceback:
|
||||
frames = inspect.getinnerframes(traceback, context=0)
|
||||
_locals = ['Locals (most recent call last):']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue