This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import traceback | |
import os | |
while True: | |
try: | |
import app | |
break | |
except BaseException as e: | |
stack_summary = traceback.extract_tb(e.__traceback__) | |
frame_summary = stack_summary.pop() |