feat(chalice): debug sourcemaps.pye
This commit is contained in:
parent
6b1a93b55b
commit
d95597ce86
1 changed files with 7 additions and 2 deletions
|
|
@ -148,8 +148,13 @@ MAX_COLUMN_OFFSET = 60
|
|||
def fetch_missed_contexts(frames):
|
||||
source_cache = {}
|
||||
for i in range(len(frames)):
|
||||
if len(frames[i]["context"]) > 0:
|
||||
continue
|
||||
try:
|
||||
if len(frames[i]["context"]) > 0:
|
||||
continue
|
||||
except Exception:
|
||||
print(">>>>>>>> fetch_missed_contexts exception:")
|
||||
print(frames)
|
||||
print("------------------")
|
||||
file_abs_path = frames[i]["frame"]["absPath"]
|
||||
if file_abs_path in source_cache:
|
||||
file = source_cache[file_abs_path]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue