Skip to content

Commit 95cc3f1

Browse files
Den 433 Build sync for den 431 (#77)
1 parent 522d9b1 commit 95cc3f1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dendrite/sync_api/_core/_utils.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ def expand_iframes(
3232
if iframe_path:
3333
new_iframe_path = f"{iframe_path}|"
3434
new_iframe_path = f"{new_iframe_path}{iframe_id}"
35-
content_frame = iframe.content_frame()
35+
try:
36+
content_frame = iframe.content_frame()
37+
except Exception as e:
38+
logger.debug(f"Error getting content frame for iframe {iframe_id}: {e}")
39+
continue
3640
if content_frame is None:
3741
continue
3842
content_frame.evaluate(

0 commit comments

Comments
 (0)