Skip to content

Commit a609ae5

Browse files
committed
except Exception
1 parent 01649ce commit a609ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapy_playwright/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def _get_page_content(
8585
def _get_float_setting(settings: Settings, key: str) -> Optional[float]:
8686
try:
8787
return float(settings[key])
88-
except:
88+
except Exception:
8989
return None
9090

9191

0 commit comments

Comments
 (0)